mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Harmon to Deadline - fix for non alpha last character on write node
Number or non alpha (._) last characters in write node create problems. Remove them as this value is internal and not used in final publish either way
This commit is contained in:
parent
afce3b6932
commit
3b93fae6f7
1 changed files with 4 additions and 4 deletions
|
|
@ -77,11 +77,11 @@ class CollectFarmRender(pype.lib.abstract_collect_render.
|
|||
# is sequence start node on write node offsetting whole sequence?
|
||||
expected_files = []
|
||||
|
||||
# add '.' if last character of file prefix is a number
|
||||
# remove last char if last character of file prefix is a number
|
||||
file_prefix = info[0]
|
||||
last_char = file_prefix[-1]
|
||||
if str.isdigit(last_char):
|
||||
file_prefix += '.'
|
||||
while not str.isalpha(file_prefix[-1]):
|
||||
file_prefix = file_prefix[:-1]
|
||||
|
||||
for frame in range(start, end):
|
||||
expected_files.append(
|
||||
path / "{}{}.{}".format(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue