diff options
Diffstat (limited to 'SteamAPI.py')
-rw-r--r-- | SteamAPI.py | 3 |
1 files changed, 2 insertions, 1 deletions
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)) |