From 729f967ea2a2927b90b6fd50e0f38c977e6a4f4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Gl=C3=BCpker?= Date: Sat, 13 Jan 2018 23:14:19 +0100 Subject: Don't convert appid to int --- SteamAPI.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SteamAPI.py b/SteamAPI.py index 47efe1a..0f2c91e 100644 --- a/SteamAPI.py +++ b/SteamAPI.py @@ -43,7 +43,8 @@ class SteamAPI(): gamelist = dict() for app in applist: - gamelist[int(app['appid'])] = app['name'] + # str keys for json conversion + gamelist[str(app['appid'])] = app['name'] if CACHE: cache = Caching.writeCache('general', 'gamelist', json.dumps(gamelist)) -- cgit v1.2.3