From 5633b301f3ced951fdea9aedb4ca45f8a9e7bb89 Mon Sep 17 00:00:00 2001 From: Ali Parlakci Date: Mon, 30 Jul 2018 13:36:27 +0300 Subject: [PATCH] Bug fix --- script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.py b/script.py index d599239..20e8050 100644 --- a/script.py +++ b/script.py @@ -40,7 +40,7 @@ def getConfig(configFileName): if content["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( "Go to this URL and fill the form: " \ "https://api.imgur.com/oauth2/addclient\n" \