make sure that result of '_get_versions_order_doc' is dictionary

This commit is contained in:
Jakub Trllo 2022-03-01 15:00:13 +01:00
parent 00451655f6
commit 5d896b97de

View file

@ -694,7 +694,7 @@ class MongoSettingsHandler(SettingsHandler):
return self.collection.find_one(
{"type": self._version_order_key},
projection
)
) or {}
def _check_version_order(self):
"""This method will work only in OpenPype process.