We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ded5c2e + e9817e1 commit a6bbf9dCopy full SHA for a6bbf9d
1 file changed
resources/registry.py
@@ -75,6 +75,9 @@ def get_registry_values(registry_path):
75
with open(registry_path, 'r') as file:
76
vdf = vdf_parse(file, {})
77
apps = vdf['Registry']['HKCU']['Software']['Valve']['Steam']['Apps']
78
- app_dict = dict((k, v) for (k, v) in apps.iteritems() if v.get('installed', '0') == '1')
+
79
+ # apparently case of 'installed' differs depending on ... ?
80
+ # i'm sure if i were a python programmer this would look nicer
81
+ app_dict = dict((k, v) for (k, v) in apps.iteritems() if ({ k.lower():v for k,v in v.items() }.get('installed', '0') == '1'))
82
83
return app_dict
0 commit comments