From ecdc5ce92096f2cb86e2bc1d0c35f461e15fb580 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Fri, 17 Nov 2023 13:41:44 +0100 Subject: [PATCH] solved verbose bugs --- replace_string.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/replace_string.py b/replace_string.py index 0893b92..55e0681 100644 --- a/replace_string.py +++ b/replace_string.py @@ -55,7 +55,7 @@ def process_directory(base_path, old_string, new_string, recursive, folder, file # Ordnernamen ändern nach dem os.walk() Durchlauf for old_path, new_path in directories_to_rename: - verbose(f"Renaming directory from: {old_path} to: {new_path}") + print_verbose(f"Renaming directory from: {old_path} to: {new_path}",verbose) if not preview: os.rename(old_path, new_path)