From 96a79f7c25d44ae2c660d7f75dd0126c9828ede7 Mon Sep 17 00:00:00 2001 From: Arves100 Date: Tue, 5 May 2020 16:46:59 +0200 Subject: [PATCH] a --- inline.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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