mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
don't skip processing if mapping is not set and use default mapping
This commit is contained in:
parent
b3701176cb
commit
9a35e2d4f8
1 changed files with 1 additions and 9 deletions
|
|
@ -66,15 +66,7 @@ class VersionToTaskStatus(BaseEvent):
|
|||
))
|
||||
return
|
||||
|
||||
_status_mapping = event_settings["mapping"]
|
||||
if not _status_mapping:
|
||||
self.log.debug(
|
||||
"Project \"{}\" does not have set mapping for {}".format(
|
||||
project_name, self.__class__.__name__
|
||||
)
|
||||
)
|
||||
return
|
||||
|
||||
_status_mapping = event_settings["mapping"] or {}
|
||||
status_mapping = {
|
||||
key.lower(): value
|
||||
for key, value in _status_mapping.items()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue