diff --git a/inline.py b/inline.py index 75af4d9..52ebc07 100644 --- a/inline.py +++ b/inline.py @@ -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