Update openpype/hosts/tvpaint/plugins/load/load_workfile.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Toke Jepsen 2021-10-06 18:26:22 +02:00 committed by GitHub
parent 4442454f9e
commit 23c5b85a77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,7 +70,7 @@ class LoadWorkfile(pipeline.Loader):
data, anatomy.templates[template_key]["folder"]
)
version = api.last_workfile_with_version(
work_root, template, data, [data["ext"]]
work_root, template, data, host.file_extensions()
)[1]
if version is None: