From 9cd4d7048cc4c37def29c36bd9052140ac90d3b8 Mon Sep 17 00:00:00 2001 From: kramo <93832451+kra-mo@users.noreply.github.com> Date: Fri, 21 Jul 2023 09:39:32 +0200 Subject: [PATCH] Don't blacklist Steam mods - #151 --- src/utils/steam.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utils/steam.py b/src/utils/steam.py index 145adde..e0cb0f2 100644 --- a/src/utils/steam.py +++ b/src/utils/steam.py @@ -142,8 +142,7 @@ class SteamAPIHelper: raise SteamGameNotFoundError() # Handle appid is not a game - game_types = ("game", "demo") - if data["data"]["type"] not in game_types: + if data["data"]["type"] not in {"game", "demo", "mod"}: logging.debug("Appid %s is not a game", appid) raise SteamNotAGameError()