Update openpype/hosts/fusion/plugins/create/create_saver.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Jakub Ježek 2023-11-14 12:49:46 +01:00 committed by GitHub
parent f906d05c73
commit 2b5c20e6e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -149,13 +149,7 @@ class CreateSaver(NewCreator):
# get frame padding from anatomy templates
anatomy = Anatomy()
render_anatomy_template = anatomy.templates.get("render")
if render_anatomy_template:
frame_padding = int(
render_anatomy_template.get("frame_padding", 4)
)
else:
frame_padding = int(anatomy.templates.get("frame_padding", 4))
frame_padding = anatomy.templates["frame_padding"]
# Subset change detected
workdir = os.path.normpath(legacy_io.Session["AVALON_WORKDIR"])