mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Update client/ayon_core/plugins/publish/integrate_hero_version.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
35ffa87e01
commit
0d7ced6fc6
1 changed files with 3 additions and 3 deletions
|
|
@ -427,9 +427,9 @@ class IntegrateHeroVersion(
|
|||
with ThreadPoolExecutor(max_workers=8) as executor:
|
||||
futures = [
|
||||
executor.submit(self.copy_file, src_path, dst_path)
|
||||
for src_path, dst_path
|
||||
in itertools.chain(src_to_dst_file_paths,
|
||||
other_file_paths_mapping)
|
||||
for src_path, dst_path in itertools.chain(
|
||||
src_to_dst_file_paths, other_file_paths_mapping
|
||||
)
|
||||
]
|
||||
as_completed_stop_and_raise_on_error(executor, futures)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue