We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 495521f commit 7ea8427Copy full SHA for 7ea8427
1 file changed
Mopy/bash/bosh.py
@@ -12021,9 +12021,9 @@ def __init__(self):
12021
try:
12022
import _winreg
12023
for hkey in (_winreg.HKEY_CURRENT_USER, _winreg.HKEY_LOCAL_MACHINE):
12024
- for wow6432 in ('','Wow6432Node\\'):
+ for wow6432 in (_winreg.KEY_WOW64_64KEY, _winreg.KEY_WOW64_32KEY):
12025
12026
- key = _winreg.OpenKey(hkey,'Software\\%sBoss' % wow6432)
+ key = _winreg.OpenKey(hkey,'Software\\Boss', 0, _winreg.KEY_READ | wow6432)
12027
value = _winreg.QueryValueEx(key,'Installed Path')
12028
except:
12029
continue
0 commit comments