fixing module file and list indexing

This commit is contained in:
Ondřej Samohel 2022-04-13 13:38:05 +02:00
parent 3014e11e47
commit c5069096d6
No known key found for this signature in database
GPG key ID: 02376E18990A97C6
2 changed files with 1 additions and 1 deletions

View file

@ -540,7 +540,7 @@ class ProcessSubmittedJobOnFarm(pyblish.api.InstancePlugin):
if instance.get("multipartExr", False):
preview = True
else:
render_file_name = list(collection[0])
render_file_name = list(collection)[0]
host_name = os.environ.get("AVALON_APP", "")
# if filtered aov name is found in filename, toggle it for
# preview video rendering

View file