From 6b7b5bf2616180bf61cbe45f97ff83ea4a882cbb Mon Sep 17 00:00:00 2001 From: PC-Admin Date: Sun, 27 Aug 2023 02:36:11 +0800 Subject: [PATCH] fix conditional error with deactivate all --- user_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_commands.py b/user_commands.py index 5b950c2..7fe078d 100644 --- a/user_commands.py +++ b/user_commands.py @@ -62,7 +62,7 @@ def deactivate_multiple_accounts(): return #print(len(data[0])) #print(data[0][0]) - if delete_confirmation ["y", "Y", "yes", "Yes", "YES"]: + if delete_confirmation in ["y", "Y", "yes", "Yes", "YES"]: x = 0 while x <= (len(data) - 1): #print(data[0][x])