web: fix new usage of getURLContent in getJSON
This commit is contained in:
parent
02acad5968
commit
86fdaa4dd9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user