vnrecode: fix duplicates check for case insensitive fs
This commit is contained in:
parent
90a6b4e0c1
commit
0b43756ef5
2 changed files with 7 additions and 5 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue