mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 21:46:44 +00:00
json.loads() expects a string
This commit is contained in:
parent
16e86ba79a
commit
54f2663f82
@ -86,7 +86,7 @@ def _subscriber_only(msg='', response=None):
|
|||||||
else:
|
else:
|
||||||
# ignore msg entirely
|
# ignore msg entirely
|
||||||
try:
|
try:
|
||||||
data = json.loads(response)
|
data = json.loads(str(response))
|
||||||
except (TypeError, ValueError, AttributeError):
|
except (TypeError, ValueError, AttributeError):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user