Skip to content

Commit 22c13c2

Browse files
authored
Merge pull request #18 from AmineI/patch-1
Properly return installed games on Windows
2 parents 9d68957 + b56aa9e commit 22c13c2

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

resources/registry.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,9 @@ def get_registry_values(registry_path):
6262
app_id = _winreg.EnumKey(apps, i)
6363
#print(app_id)
6464
installed = is_installed(app_id)
65-
if installed is None:
66-
i += 1
67-
continue
68-
else:
65+
i += 1
66+
if installed:
6967
app_dict[app_id] = installed
70-
i += 1
7168

7269
except WindowsError:
7370
pass

0 commit comments

Comments
 (0)