forked from HonusBot/HonusBot
Fix
This commit is contained in:
parent
53f8c57d9f
commit
84f11102b7
@ -139,7 +139,7 @@ class InlineBot:
|
|||||||
if not r:
|
if not r:
|
||||||
return self.errorText
|
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
|
return self.errorText
|
||||||
|
|
||||||
if r.headers["authorized"] != "true" or r.headers["success"] != "true" or r.headers[requiredField] == "":
|
if r.headers["authorized"] != "true" or r.headers["success"] != "true" or r.headers[requiredField] == "":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user