Skip to content

Commit

Permalink
fix issue AlessandroZ#127
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessandroZ committed Jun 3, 2017
1 parent 838946a commit 96e4cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Windows/lazagne/config/WinStructure.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def isx64machine():
isx64 = isx64machine()

def OpenKey(key, path, index=0, access=KEY_READ):
if sx64:
if isx64:
return _winreg.OpenKey(key, path, index, access | _winreg.KEY_WOW64_64KEY)
else:
return _winreg.OpenKey(key, path, index, access)

0 comments on commit 96e4cbe

Please sign in to comment.