Move to casefold
This commit is contained in:
1 parent
f05eff4f88
commit
87d2112812
1 file changed
+1
-1
+1
-1
@@ -15,7 +15,7 @@ def get_subreddit_threads():
|
||||
|
||||
print_step("Getting AskReddit threads...")
|
||||
|
||||
if os.getenv("REDDIT_2FA", default="no").lower() == "yes":
|
||||
if os.getenv("REDDIT_2FA", default="no").casefold() == "yes":
|
||||
print(
|
||||
"\nEnter your two-factor authentication code from your authenticator app.\n"
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user