From 84f11102b791de8c616c677f517f836889a8f1a9 Mon Sep 17 00:00:00 2001 From: Arves100 Date: Mon, 9 Mar 2020 02:05:24 +0100 Subject: [PATCH] Fix --- inline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inline.py b/inline.py index a99a749..1a385b7 100644 --- a/inline.py +++ b/inline.py @@ -139,7 +139,7 @@ class InlineBot: if not r: return self.errorText - if not "authorized" in r.headers or not "success" in r.headers or not "htmldescription" in r.headers or not "imageurl" in r.headers or not requiredField in r.headers: + if not "authorized" in r.headers or not "success" in r.headers or not "htmldescription" in r.headers or not "imageurl" in r.headers or not command.getHeaderField() in r.headers: return self.errorText if r.headers["authorized"] != "true" or r.headers["success"] != "true" or r.headers[requiredField] == "":