Don't blacklist Steam mods - #151
This commit is contained in:
@@ -142,8 +142,7 @@ class SteamAPIHelper:
|
|||||||
raise SteamGameNotFoundError()
|
raise SteamGameNotFoundError()
|
||||||
|
|
||||||
# Handle appid is not a game
|
# Handle appid is not a game
|
||||||
game_types = ("game", "demo")
|
if data["data"]["type"] not in {"game", "demo", "mod"}:
|
||||||
if data["data"]["type"] not in game_types:
|
|
||||||
logging.debug("Appid %s is not a game", appid)
|
logging.debug("Appid %s is not a game", appid)
|
||||||
raise SteamNotAGameError()
|
raise SteamNotAGameError()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user