hound(hiero): improving variable building

This commit is contained in:
Jakub Jezek 2020-11-26 18:23:08 +01:00
parent 34b568304e
commit 61e703f13a
No known key found for this signature in database
GPG key ID: C4B96E101D2A47F3

View file

@ -99,7 +99,12 @@ class ExtractReviewCutUp(pype.api.Extractor):
index = 0
for image in collection:
dst_file_num = frame_start + index
dst_file_name = str(event_number) + head + str(padding % dst_file_num) + tail
dst_file_name = "".join([
str(event_number),
head,
str(padding % dst_file_num),
tail
])
src = os.path.join(staging_dir, image)
dst = os.path.join(full_output_dir, dst_file_name)
self.log.info("Creating temp hardlinks: {}".format(dst))