fix: cast result to str
Some checks are pending
Mirror to Codeberg / mirror-to-codeberg (push) Waiting to run

This commit is contained in:
aclist 2026-07-08 10:58:40 +09:00
parent 8652259053
commit 6a3b4b2bfb

View File

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