web: fix new usage of getURLContent in getJSON

This commit is contained in:
nemunaire 2014-12-15 23:53:26 +01:00
parent 02acad5968
commit 86fdaa4dd9

View File

@ -150,7 +150,7 @@ def getJSON(url, timeout=15):
if cnt is None:
return None
else:
return json.loads(cnt.decode())
return json.loads(cnt)
# Other utils