|
@@ -66,8 +66,8 @@ def import_gamelist_file_to_db_for_system(
|
|
|
continue
|
|
|
|
|
|
if not created and not full_scan:
|
|
|
- not_imported_games.append(game)
|
|
|
- logger.info(f"Found game {game} and not doing full scan, so skipping")
|
|
|
+ not_imported_games.append(obj)
|
|
|
+ logger.info(f"Found game {obj} and not doing full scan, so skipping")
|
|
|
continue
|
|
|
|
|
|
region = Game.Region.X.name
|
|
@@ -141,7 +141,7 @@ def import_gamelist_file_to_db_for_system(
|
|
|
obj.region = region
|
|
|
obj.save()
|
|
|
|
|
|
- imported_games.append(game)
|
|
|
+ imported_games.append(obj)
|
|
|
return {"imported": imported_games, "not_imported": not_imported_games}
|
|
|
|
|
|
|