mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 13:36:35 +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:
|
||||
# ignore msg entirely
|
||||
try:
|
||||
data = json.loads(response)
|
||||
data = json.loads(str(response))
|
||||
except (TypeError, ValueError, AttributeError):
|
||||
return False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user