summaryrefslogtreecommitdiffstats
path: root/gamechestcli
diff options
context:
space:
mode:
Diffstat (limited to 'gamechestcli')
-rwxr-xr-xgamechestcli/src/gamechest/__main__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/gamechestcli/src/gamechest/__main__.py b/gamechestcli/src/gamechest/__main__.py
index 6a20425..10364c6 100755
--- a/gamechestcli/src/gamechest/__main__.py
+++ b/gamechestcli/src/gamechest/__main__.py
@@ -42,8 +42,10 @@ def main():
update_count = 0
game_count = 0
for gameid in game_ids:
- game_count += 1 # don't do len() as game_ids can be a generator
game_info = game_db.get_info(gameid)
+ if not status_db.is_installed(game_info):
+ continue
+ game_count += 1 # don't do len() as game_ids can be a generator
if status_db.is_up_to_date(game_info):
continue
print(f'Updating {gameid}')