Skip to content

Commit a9a9bdf

Browse files
committed
added check for "ownAttrib" key
1 parent 589ac3d commit a9a9bdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ayon_api/server_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def __repr__(self):
321321

322322

323323
def fill_own_attribs(entity):
324-
if not entity or not entity.get("attrib"):
324+
if not entity or not entity.get("attrib") or "ownAttrib" not in entity:
325325
return
326326

327327
attributes = set(entity["ownAttrib"])

0 commit comments

Comments
 (0)