vnrecode: fix duplicates check for case insensitive fs

This commit is contained in:
OleSTEEP 2024-09-04 04:30:01 +03:00
parent 90a6b4e0c1
commit 0b43756ef5
2 changed files with 7 additions and 5 deletions

View file

@ -42,7 +42,7 @@ class Application:
with ThreadPoolExecutor(max_workers=self.params.workers) as executor:
futures = [
executor.submit(self.compress, folder, file, source, output)
for file in files if os.path.isfile(f'{folder}/{file}')
for file in files if os.path.isfile(os.path.join(folder, file))
]
for future in as_completed(futures):
future.result()