Move to casefold

pull/241/head
Callum Leslie 3 years ago
parent f05eff4f88
commit 87d2112812

@ -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"
)

Loading…
Cancel
Save