web: fix new usage of getURLContent in getJSON
This commit is contained in:
parent
02acad5968
commit
86fdaa4dd9
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ def getJSON(url, timeout=15):
|
||||||
if cnt is None:
|
if cnt is None:
|
||||||
return None
|
return None
|
||||||
else:
|
else:
|
||||||
return json.loads(cnt.decode())
|
return json.loads(cnt)
|
||||||
|
|
||||||
|
|
||||||
# Other utils
|
# Other utils
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue