mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Simplified fill_root logic
I must be wrong in my previous tests, it works even this simple way.
This commit is contained in:
parent
e9d3462da2
commit
5410d69ad2
1 changed files with 1 additions and 7 deletions
|
|
@ -1005,13 +1005,7 @@ class ExtractReview(pyblish.api.InstancePlugin):
|
|||
hole_fpath = os.path.join(staging_dir, col_format % frame)
|
||||
|
||||
previous_version_path = prev_col_format % frame
|
||||
# limits too large padding coming from Anatomy
|
||||
previous_version_path = (
|
||||
os.path.join(
|
||||
anatomy.fill_root(os.path.dirname(previous_version_path)),
|
||||
os.path.basename(previous_version_path)
|
||||
)
|
||||
)
|
||||
previous_version_path = anatomy.fill_root(previous_version_path)
|
||||
if not os.path.exists(previous_version_path):
|
||||
self.log.warning(
|
||||
"Missing frame should be replaced from "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue