forked from HonusBot/HonusBot
a
This commit is contained in:
parent
33dc6b3cef
commit
96a79f7c25
@ -162,9 +162,8 @@ class InlineBot:
|
||||
return None
|
||||
|
||||
resp = None
|
||||
self.logger.warning("JSON txt:",r.text)
|
||||
#try:
|
||||
resp = json.loads(r.text, object_hook = asResponse)
|
||||
resp = json.loads(r.text, object_hook = self.asResponse)
|
||||
#except:
|
||||
# self.logger.warning('JSON deserialization failed')
|
||||
# return None ## Invalid json
|
||||
|
Loading…
Reference in New Issue
Block a user