From be8de457148cfb2df2fffef30f2a42731f83c44f Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sun, 8 Jan 2023 12:23:14 +0000 Subject: [PATCH] Fix game support crash due to incorrect key --- app/logic/game_support.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/logic/game_support.py b/app/logic/game_support.py index 35d9dde9..64d17e93 100644 --- a/app/logic/game_support.py +++ b/app/logic/game_support.py @@ -98,11 +98,11 @@ class GameSupportResolver: return retval def resolve(self, package: Package, history: List[str]) -> set[int]: - key = package.id + key: int = package.id print(f"Resolving for {key}", file=sys.stderr) history = history.copy() - history.append(key) + history.append(package.getId()) if package.type == PackageType.GAME: return {package.id}