lib.py edited online with Bitbucket

This commit is contained in:
Jakub Trllo 2019-12-07 11:29:07 +00:00
parent 7f9a4e9528
commit d0132a1fa0

View file

@ -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):