mirror of
https://github.com/aclist/dztui.git
synced 2026-10-29 14:12:45 +01:00
This commit is contained in:
1 parent
8652259053
commit
6a3b4b2bfb
1 file changed
+1
-1
+1
-1
@@ -405,7 +405,7 @@ def get_app_name(appid: int) -> str:
|
|||||||
if res.status_code != 200:
|
if res.status_code != 200:
|
||||||
return unknown
|
return unknown
|
||||||
try:
|
try:
|
||||||
return res.json()[str(appid)]["data"]["name"]
|
return str(res.json()[str(appid)]["data"]["name"])
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.debug(e)
|
logger.debug(e)
|
||||||
return unknown
|
return unknown
|
||||||
Reference in new issue
Block a user