summaryrefslogtreecommitdiffstats
path: root/gamechestcli/gamechest/cliactions/remove.py
diff options
context:
space:
mode:
Diffstat (limited to 'gamechestcli/gamechest/cliactions/remove.py')
-rw-r--r--gamechestcli/gamechest/cliactions/remove.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gamechestcli/gamechest/cliactions/remove.py b/gamechestcli/gamechest/cliactions/remove.py
index 2024b4b..1668e63 100644
--- a/gamechestcli/gamechest/cliactions/remove.py
+++ b/gamechestcli/gamechest/cliactions/remove.py
@@ -23,7 +23,8 @@ def remove_game(status_db, game_info):
def remove(game_id):
- game_info = gamedb.get_game_info(game_id)
+ game_db = gamdb.GameDB()
+ game_info = game_db.get_game_info(game_id)
status_db = StatusDB()
if status_db.is_installed(game_info):
remove_game(status_db, game_info)