Browse Source

fix #4; method failing when format=vdf

pull/6/head
Rossen Georgiev 10 years ago
parent
commit
b07f059f6a
  1. 2
      steam/webapi.py

2
steam/webapi.py

@ -52,7 +52,7 @@ def webapi_request(path, method='GET', caller=None, params={}):
return lxml.etree.parse(resp.raw) return lxml.etree.parse(resp.raw)
elif onetime['format'] == 'vdf': elif onetime['format'] == 'vdf':
import vdf import vdf
return vdf.load(resp.raw) return vdf.loads(resp.text)
class WebAPI(object): class WebAPI(object):

Loading…
Cancel
Save