mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
cleanup commit
This commit is contained in:
parent
379554c66f
commit
de7fe11532
2 changed files with 3 additions and 3 deletions
|
|
@ -7,7 +7,6 @@ Provides:
|
|||
context -> anatomy (pypeapp.Anatomy)
|
||||
"""
|
||||
import os
|
||||
from avalon import io
|
||||
from pypeapp import Anatomy
|
||||
import pyblish.api
|
||||
|
||||
|
|
@ -19,7 +18,6 @@ class CollectAnatomyObject(pyblish.api.ContextPlugin):
|
|||
label = "Collect Anatomy Object"
|
||||
|
||||
def process(self, context):
|
||||
# io.install()
|
||||
project_name = os.environ.get("AVALON_PROJECT")
|
||||
if project_name is None:
|
||||
raise AssertionError(
|
||||
|
|
|
|||
|
|
@ -686,7 +686,9 @@ class ProcessSubmittedJobOnFarm(pyblish.api.InstancePlugin):
|
|||
staging_dir = repre.get("stagingDir")
|
||||
if staging_dir:
|
||||
success, rootless_staging_dir = (
|
||||
self.anatomy.roots_obj.find_root_template_from_path(staging_dir)
|
||||
self.anatomy.roots_obj.find_root_template_from_path(
|
||||
staging_dir
|
||||
)
|
||||
)
|
||||
if success:
|
||||
repre["stagingDir"] = rootless_staging_dir
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue