mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-27 06:12:19 +01:00
clean(celaction): before PR brushing
This commit is contained in:
parent
1a21abdecf
commit
c01115386d
2 changed files with 3 additions and 7 deletions
|
|
@ -29,9 +29,6 @@ class CelactionPrelaunchHook(PypeHook):
|
|||
self.signature = "( {} )".format(self.__class__.__name__)
|
||||
|
||||
def execute(self, *args, env: dict = None) -> bool:
|
||||
|
||||
from pprint import pformat
|
||||
self.log.info(f"`{pformat(env)}`")
|
||||
if not env:
|
||||
env = os.environ
|
||||
|
||||
|
|
@ -73,7 +70,8 @@ class CelactionPrelaunchHook(PypeHook):
|
|||
env.get("PYPE_MODULE_ROOT"),
|
||||
"pype/hosts/celaction/celaction_template_scene.scn"
|
||||
)
|
||||
self.log.info(f"Creating workfile from template: `{template_path}`")
|
||||
self.log.info(
|
||||
f"Creating workfile from template: `{template_path}`")
|
||||
shutil.copy2(
|
||||
os.path.normpath(template_path),
|
||||
os.path.normpath(workfile_path)
|
||||
|
|
|
|||
|
|
@ -2,10 +2,8 @@ import os
|
|||
import sys
|
||||
import copy
|
||||
import argparse
|
||||
import importlib
|
||||
|
||||
from avalon import io
|
||||
import avalon.api
|
||||
from avalon.tools import publish
|
||||
|
||||
import pyblish.api
|
||||
|
|
@ -53,7 +51,7 @@ def cli():
|
|||
help=("Height of resolution"))
|
||||
|
||||
# parser.add_argument("--programDir",
|
||||
# help=("Directory with celaction program installation"))
|
||||
# help=("Directory with celaction program installation"))
|
||||
|
||||
pype.celaction.kwargs = parser.parse_args(sys.argv[1:]).__dict__
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue