launch moved back

This commit is contained in:
Jakub Trllo 2019-04-04 11:18:18 +02:00
parent 67a672f676
commit 315ed42a41
2 changed files with 4 additions and 2 deletions

View file

@ -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(

View file

@ -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