diff --git a/steam/webapi.py b/steam/webapi.py index c60183c..2d673ea 100644 --- a/steam/webapi.py +++ b/steam/webapi.py @@ -52,7 +52,7 @@ def webapi_request(path, method='GET', caller=None, params={}): return lxml.etree.parse(resp.raw) elif onetime['format'] == 'vdf': import vdf - return vdf.load(resp.raw) + return vdf.loads(resp.text) class WebAPI(object):