mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Test if col[0] is remainder or list for file_name
This commit is contained in:
parent
8efa09c6d2
commit
80e08d43ce
1 changed files with 4 additions and 1 deletions
|
|
@ -453,7 +453,10 @@ class ProcessSubmittedJobOnFarm(pyblish.api.InstancePlugin):
|
|||
# we must compare against the render filename string
|
||||
# We are grabbing the render filename string
|
||||
# from the collection that we have grabbed from exp_files
|
||||
render_file_name = os.path.basename(col[0])
|
||||
if isinstance(col, list):
|
||||
render_file_name = os.path.basename(col[0])
|
||||
else:
|
||||
render_file_name = os.path.basename(col)
|
||||
if re.match(aov_pattern, render_file_name):
|
||||
preview = True
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue