From 45fb7353208f272822cde22719aa4d404d66a3e0 Mon Sep 17 00:00:00 2001 From: alwaysintreble Date: Mon, 29 Aug 2022 17:16:13 -0500 Subject: [PATCH] Clients: allow games without datapackage (#978) --- CommonClient.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CommonClient.py b/CommonClient.py index f8300354..5af8e8cd 100644 --- a/CommonClient.py +++ b/CommonClient.py @@ -345,6 +345,8 @@ class CommonContext: cache_package = Utils.persistent_load().get("datapackage", {}).get("games", {}) needed_updates: typing.Set[str] = set() for game in relevant_games: + if game not in remote_datepackage_versions: + continue remote_version: int = remote_datepackage_versions[game] if remote_version == 0: # custom datapackage for this game