mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
do not trigger install/uninstall in 'remotepublishfromapp' as it's not needed
This commit is contained in:
parent
98ced1932a
commit
54545478aa
1 changed files with 1 additions and 6 deletions
|
|
@ -147,16 +147,13 @@ class PypeCommands:
|
||||||
SLEEP = 5 # seconds for another loop check for concurrently runs
|
SLEEP = 5 # seconds for another loop check for concurrently runs
|
||||||
WAIT_FOR = 300 # seconds to wait for conc. runs
|
WAIT_FOR = 300 # seconds to wait for conc. runs
|
||||||
|
|
||||||
from openpype import install, uninstall
|
|
||||||
from openpype.api import Logger
|
from openpype.api import Logger
|
||||||
|
from openpype.lib import ApplicationManager
|
||||||
|
|
||||||
log = Logger.get_logger()
|
log = Logger.get_logger()
|
||||||
|
|
||||||
log.info("remotepublishphotoshop command")
|
log.info("remotepublishphotoshop command")
|
||||||
|
|
||||||
install()
|
|
||||||
|
|
||||||
from openpype.lib import ApplicationManager
|
|
||||||
application_manager = ApplicationManager()
|
application_manager = ApplicationManager()
|
||||||
|
|
||||||
found_variant_key = find_variant_key(application_manager, host)
|
found_variant_key = find_variant_key(application_manager, host)
|
||||||
|
|
@ -230,8 +227,6 @@ class PypeCommands:
|
||||||
while launched_app.poll() is None:
|
while launched_app.poll() is None:
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
|
|
||||||
uninstall()
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def remotepublish(project, batch_path, host, user, targets=None):
|
def remotepublish(project, batch_path, host, user, targets=None):
|
||||||
"""Start headless publishing.
|
"""Start headless publishing.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue