This commit is contained in:
Christian Rendina 2020-05-05 16:46:59 +02:00
parent 33dc6b3cef
commit 96a79f7c25

View File

@ -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