mirror of
https://github.com/kevinveenbirkenbach/bulk-string-replacer.git
synced 2024-11-24 03:48:46 +01:00
solved verbose bugs
This commit is contained in:
parent
5136ddf27f
commit
ecdc5ce920
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user