Move to casefold

This commit is contained in:
Callum Leslie committed 2022-06-04 01:40:55 +01:00
1 parent f05eff4f88
commit 87d2112812
1 file changed
+1 -1
+1 -1
View File
@@ -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"
)