mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
fixed missing status name in mapping
This commit is contained in:
parent
c8d6d120f5
commit
fc6bc15080
1 changed files with 6 additions and 5 deletions
|
|
@ -205,11 +205,12 @@ class TaskToVersionStatus(BaseEvent):
|
|||
|
||||
new_asset_version_status = None
|
||||
mapped_status_names = status_mapping.get(task_status_name_low)
|
||||
for status_name in mapped_status_names:
|
||||
_status = av_statuses_by_low_name.get(status_name.lower())
|
||||
if _status:
|
||||
new_asset_version_status = _status
|
||||
break
|
||||
if mapped_status_names:
|
||||
for status_name in mapped_status_names:
|
||||
_status = av_statuses_by_low_name.get(status_name.lower())
|
||||
if _status:
|
||||
new_asset_version_status = _status
|
||||
break
|
||||
|
||||
if not new_asset_version_status:
|
||||
new_asset_version_status = av_statuses_by_low_name.get(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue