From 6a3b4b2bfb72f2a76d55865d7cf3bfbb0b1996bc Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Wed, 8 Jul 2026 10:58:40 +0900 Subject: [PATCH] fix: cast result to str --- dzgui/api/steam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dzgui/api/steam.py b/dzgui/api/steam.py index 2c6799a..51197e5 100644 --- a/dzgui/api/steam.py +++ b/dzgui/api/steam.py @@ -405,7 +405,7 @@ def get_app_name(appid: int) -> str: if res.status_code != 200: return unknown try: - return res.json()[str(appid)]["data"]["name"] + return str(res.json()[str(appid)]["data"]["name"]) except Exception as e: logger.debug(e) return unknown