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