mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
skip keys before they're checked
This commit is contained in:
parent
c03ba80974
commit
c55ca5af2d
1 changed files with 7 additions and 5 deletions
|
|
@ -277,15 +277,17 @@ class FtrackModule(
|
|||
failed = {}
|
||||
missing = {}
|
||||
for key, value in attributes_changes.items():
|
||||
if key not in ca_keys:
|
||||
continue
|
||||
|
||||
configuration = hier_attrs_by_key.get(key)
|
||||
if not configuration:
|
||||
configuration = cust_attr_by_key.get(key)
|
||||
if not configuration:
|
||||
if key in ca_keys:
|
||||
self.log.warning(
|
||||
"Custom attribute \"{}\" was not found.".format(key)
|
||||
)
|
||||
missing[key] = value
|
||||
self.log.warning(
|
||||
"Custom attribute \"{}\" was not found.".format(key)
|
||||
)
|
||||
missing[key] = value
|
||||
continue
|
||||
|
||||
# TODO add add permissions check
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue