From 9de245a27229395c0d15c604930f264b71e8869b Mon Sep 17 00:00:00 2001 From: Arves100 Date: Tue, 5 May 2020 12:07:55 +0200 Subject: [PATCH] .,.,.,. --- inline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inline.py b/inline.py index d256fde..36ddf0b 100644 --- a/inline.py +++ b/inline.py @@ -144,7 +144,7 @@ class InlineBot: def asResponse(dct): if "imageUrl" in dct: return JSONResponse(dct["authorized"], dct["success"], dct["imageUrl"], "") - else if "htmlDescription" in dct: + elif "htmlDescription" in dct: return JSONResponse(dct["authorized"], dct["success"], "", dct["htmlDescription"]) else: raise Exception("Invalid JSON")