Merge pull request #1187 from pypeclub/bugfix/fix_handler_properties

Settings handler properties fix
This commit is contained in:
Milan Kolar 2021-03-24 17:50:37 +01:00 committed by GitHub
commit d0c772db08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -386,13 +386,13 @@ class MongoSettingsHandler(SettingsHandler):
@property
def anatomy_keys(self):
if self._anatomy_keys:
if self._anatomy_keys is None:
self._prepare_project_settings_keys()
return self._anatomy_keys
@property
def attribute_keys(self):
if self._attribute_keys:
if self._attribute_keys is None:
self._prepare_project_settings_keys()
return self._attribute_keys