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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gamechestcli/gamechest/cliactions/remove.py b/gamechestcli/gamechest/cliactions/remove.py
index 1668e63..d5452d5 100644
--- a/gamechestcli/gamechest/cliactions/remove.py
+++ b/gamechestcli/gamechest/cliactions/remove.py
@@ -14,7 +14,7 @@ def remove_game(status_db, game_info):
remote_basedir = paths.get_remote_basedir()
path = (
paths.get_games_install_basedir()
- / status_db.get_installed_game_name(game_info['id'])
+ / game_info['id']
)
title = 'Removing game...'
task = functools.partial(Remove, path)
@@ -23,7 +23,7 @@ def remove_game(status_db, game_info):
def remove(game_id):
- game_db = gamdb.GameDB()
+ game_db = gamedb.GameDB()
game_info = game_db.get_game_info(game_id)
status_db = StatusDB()
if status_db.is_installed(game_info):