mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
lib.py edited online with Bitbucket
This commit is contained in:
parent
7f9a4e9528
commit
d0132a1fa0
1 changed files with 4 additions and 1 deletions
|
|
@ -182,7 +182,10 @@ def any_outdated():
|
|||
continue
|
||||
|
||||
representation_doc = io.find_one(
|
||||
{"_id": io.ObjectId(representation), "type": "representation"},
|
||||
{
|
||||
"_id": io.ObjectId(representation),
|
||||
"type": "representation"
|
||||
},
|
||||
projection={"parent": True}
|
||||
)
|
||||
if representation_doc and not is_latest(representation_doc):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue