vnrecode: fix renaming for same name subfolders

This commit is contained in:
OleSTEEP 2024-11-01 03:23:50 +03:00
parent bc84703b73
commit 626eaae5e2
2 changed files with 9 additions and 1 deletions

View file

@ -39,7 +39,7 @@ class Application:
self.__printer.info("Creating folders...")
for folder, folders, files in os.walk(source):
output = Path(folder.replace(str(source), str(self.__params.dest)))
output = self.__utils.get_comp_subdir(folder)
if not output.exists():
os.mkdir(output)