From 8e4251ce95d3749ac84cc9ee002aa92e3e64741a Mon Sep 17 00:00:00 2001 From: LSAB23 <153337874+LSAB23@users.noreply.github.com> Date: Sat, 27 Jan 2024 18:01:32 -0600 Subject: [PATCH] Update Bulk File Renaming Utility.py just change ("y" or "Y") to .lower() --- Bulk File Renaming Utility.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bulk File Renaming Utility.py b/Bulk File Renaming Utility.py index 85f26a3..9654717 100644 --- a/Bulk File Renaming Utility.py +++ b/Bulk File Renaming Utility.py @@ -49,7 +49,7 @@ def bulk_file_rename(path): ''' Code for Undoing the Rename Operation ''' choice = input('\nUNDO Renaming ? (Y/N): ') - if choice in ('y', 'Y'): + if choice.lower() == 'y': file_list_new = os.listdir() for i in range(len(file_list_new)):