mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Some entities has None as keys data member.
This commit is contained in:
parent
e5fd39d911
commit
df3da5e3c5
1 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ class Sync_to_Avalon(BaseEvent):
|
|||
# If mongo_id textfield has changed: RETURN!
|
||||
# - infinite loop
|
||||
for ent in event['data']['entities']:
|
||||
if 'keys' in ent:
|
||||
if ent.get('keys') is not None:
|
||||
if ca_mongoid in ent['keys']:
|
||||
return
|
||||
|
||||
|
|
@ -109,7 +109,7 @@ class Sync_to_Avalon(BaseEvent):
|
|||
' for more information.'
|
||||
)
|
||||
items = [
|
||||
{'type': 'label', 'value':'# Fatal Error'},
|
||||
{'type': 'label', 'value': '# Fatal Error'},
|
||||
{'type': 'label', 'value': '<p>{}</p>'.format(ftrack_message)}
|
||||
]
|
||||
self.show_interface(event, items, title)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue