Merge branch 'main' into libadwaita-1.4

This commit is contained in:
kramo
2023-07-21 12:12:52 +02:00
8 changed files with 95 additions and 108 deletions

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