diff options
author | André Glüpker <git@wgmd.de> | 2018-01-13 23:14:19 +0100 |
---|---|---|
committer | André Glüpker <git@wgmd.de> | 2018-01-13 23:14:19 +0100 |
commit | 729f967ea2a2927b90b6fd50e0f38c977e6a4f4e (patch) | |
tree | 6d7fc38f8d6a913b329c7f94ea10bf4583dc7287 /SteamAPI.py | |
parent | f3a988f588da40cd9a444dca49f5269803e12ae4 (diff) | |
download | steam-729f967ea2a2927b90b6fd50e0f38c977e6a4f4e.tar.gz steam-729f967ea2a2927b90b6fd50e0f38c977e6a4f4e.tar.bz2 steam-729f967ea2a2927b90b6fd50e0f38c977e6a4f4e.zip |
Don't convert appid to int
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)) |