This commit is contained in:
Jakub Trllo 2019-01-08 16:38:32 +01:00
parent 15c3911296
commit 787422ab01

View file

@ -10,7 +10,7 @@ import toml
from avalon import io, lib, pipeline
from avalon import session as sess
import acre
from pype.ftrack import ftrack_utils
from pype import api as pype
@ -354,6 +354,11 @@ class AppAction(object):
self.log.info('Starting timer for task: ' + task['name'])
user.start_timer(task, force=True)
# Change status of task to In progress
config = ftrack_utils.get_config_data()
statuses = config['sync_to_avalon']['statuses_name_change']
status = config['status_on_app_launch']
return {
'success': True,
'message': "Launching {0}".format(self.label)