1
0
Fork 0
mirror of synced 2024-10-01 09:41:03 +13:00
This commit is contained in:
Ali Parlakci 2018-07-30 13:36:27 +03:00
parent 5ed855af28
commit 5633b301f3

View file

@ -40,7 +40,7 @@ def getConfig(configFileName):
if content["reddit_refresh_token"] == "": if content["reddit_refresh_token"] == "":
FILE.delete("reddit_refresh_token") FILE.delete("reddit_refresh_token")
if all(True if not content.get(key,"") == "" else False for key in keys): if not all(False if content.get(key,"") == "" else True for key in keys):
print( print(
"Go to this URL and fill the form: " \ "Go to this URL and fill the form: " \
"https://api.imgur.com/oauth2/addclient\n" \ "https://api.imgur.com/oauth2/addclient\n" \