From 33dc6b3cef91e79afce02dd7f179c50d36f14f43 Mon Sep 17 00:00:00 2001 From: Arves100 Date: Tue, 5 May 2020 16:44:24 +0200 Subject: [PATCH] .,, --- inline.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/inline.py b/inline.py index 5bb9e21..75af4d9 100644 --- a/inline.py +++ b/inline.py @@ -163,11 +163,11 @@ class InlineBot: resp = None self.logger.warning("JSON txt:",r.text) - try: - resp = json.loads(r.text, object_hook = asResponse) - except: - self.logger.warning('JSON deserialization failed') - return None ## Invalid json + #try: + resp = json.loads(r.text, object_hook = asResponse) + #except: + # self.logger.warning('JSON deserialization failed') + # return None ## Invalid json if not resp.isAuthorized() or not resp.succeeded(): self.logger.warning('Unathorized/Unsuccessfull')