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:
Ondřej Samohel 2025-05-09 16:44:55 +02:00 committed by GitHub
parent 35ffa87e01
commit 0d7ced6fc6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)