mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
launch moved back
This commit is contained in:
parent
67a672f676
commit
315ed42a41
2 changed files with 4 additions and 2 deletions
|
|
@ -35,7 +35,7 @@ def registerApp(app, session):
|
|||
label = apptoml.get('ftrack_label', app.get('label', name))
|
||||
icon = apptoml.get('ftrack_icon', None)
|
||||
description = apptoml.get('description', None)
|
||||
preactions = apptoml.get('preactions', None)
|
||||
preactions = apptoml.get('preactions', [])
|
||||
|
||||
# register action
|
||||
AppAction(
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ import sys
|
|||
import platform
|
||||
from avalon import lib as avalonlib
|
||||
import acre
|
||||
import ftrack_api
|
||||
from pype import api as pype
|
||||
from pype import lib as pypelib
|
||||
from .avalon_sync import get_config_data
|
||||
|
|
@ -123,6 +122,9 @@ class AppAction(BaseHandler):
|
|||
if preactions_launched is False:
|
||||
return
|
||||
|
||||
response = self.launch(
|
||||
self.session, *args
|
||||
)
|
||||
|
||||
return self._handle_result(
|
||||
self.session, response, *args
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue