mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
remove default mapping
This commit is contained in:
parent
f53710dc45
commit
a940ef7508
1 changed files with 2 additions and 4 deletions
|
|
@ -4,10 +4,7 @@ from pypeapp import config
|
|||
|
||||
class VersionToTaskStatus(BaseEvent):
|
||||
|
||||
default_status_mapping = {
|
||||
'reviewed': 'Change requested',
|
||||
'approved': 'Complete'
|
||||
}
|
||||
default_status_mapping = {}
|
||||
|
||||
def launch(self, session, event):
|
||||
'''Propagates status from version to task when changed'''
|
||||
|
|
@ -40,6 +37,7 @@ class VersionToTaskStatus(BaseEvent):
|
|||
.get("ftrack_config", {})
|
||||
.get("status_version_to_task")
|
||||
) or self.default_status_mapping
|
||||
|
||||
status_to_set = status_mapping.get(version_name_low)
|
||||
|
||||
self.log.info(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue