mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
initial
This commit is contained in:
parent
15c3911296
commit
787422ab01
1 changed files with 6 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ import toml
|
||||||
from avalon import io, lib, pipeline
|
from avalon import io, lib, pipeline
|
||||||
from avalon import session as sess
|
from avalon import session as sess
|
||||||
import acre
|
import acre
|
||||||
|
from pype.ftrack import ftrack_utils
|
||||||
|
|
||||||
from pype import api as pype
|
from pype import api as pype
|
||||||
|
|
||||||
|
|
@ -354,6 +354,11 @@ class AppAction(object):
|
||||||
self.log.info('Starting timer for task: ' + task['name'])
|
self.log.info('Starting timer for task: ' + task['name'])
|
||||||
user.start_timer(task, force=True)
|
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 {
|
return {
|
||||||
'success': True,
|
'success': True,
|
||||||
'message': "Launching {0}".format(self.label)
|
'message': "Launching {0}".format(self.label)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue