Skip to content

Commit

Permalink
Fix wrong pattern for frames and ext in Harmony
Browse files Browse the repository at this point in the history
Logic is looking for static portion of output path, eg. it wants to remove frame info + extension
  • Loading branch information
kalisp committed Dec 19, 2024
1 parent 65332c3 commit 3546629
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@ def get_plugin_info(self):
)

leading_zeros = str(self._instance.data["leadingZeros"])
pattern = f"[0]{leading_zeros}1\\.[a-zA-Z]{3}"
render_prefix = re.sub(pattern, '',
frames_and_ext_pattern = f"0{{{leading_zeros}}}[1-9]\\.[a-zA-Z]{{3}}"
render_prefix = re.sub(frames_and_ext_pattern, "",
self._instance.data["expectedFiles"][0])
harmony_plugin_info.set_output(
self._instance.data["setMembers"][0],
Expand Down

0 comments on commit 3546629

Please sign in to comment.