From b151f78ca644a6c8a6e3835478f9a1c8658f8ddc Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Wed, 27 Mar 2024 20:00:57 +0000 Subject: [PATCH] Fix key error in game support algorithm --- app/logic/game_support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/logic/game_support.py b/app/logic/game_support.py index 06747455..d252885f 100644 --- a/app/logic/game_support.py +++ b/app/logic/game_support.py @@ -123,7 +123,7 @@ class GameSupport: return package def get(self, id_: str) -> Optional[GSPackage]: - return self.packages[id_] + return self.packages.get(id_) def get_all_that_provide(self, modname: str) -> List[GSPackage]: return [package for package in self.packages.values() if modname in package.provides]