Don't blacklist Steam mods - #151

This commit is contained in:
kramo
2023-07-21 09:39:32 +02:00
parent 3d17b5a920
commit 9cd4d7048c

View File

@@ -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()