mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix bootstrap attribute access
This commit is contained in:
parent
ee93c229fe
commit
e81c9dd5b5
1 changed files with 2 additions and 2 deletions
4
start.py
4
start.py
|
|
@ -296,7 +296,7 @@ def _determine_mongodb() -> str:
|
|||
if not openpype_mongo:
|
||||
# try system keyring
|
||||
try:
|
||||
openpype_mongo = bootstrap.registry.get_secure_item(
|
||||
openpype_mongo = bootstrap.secure_registry.get_item(
|
||||
"openPypeMongo")
|
||||
except ValueError:
|
||||
print("*** No DB connection string specified.")
|
||||
|
|
@ -305,7 +305,7 @@ def _determine_mongodb() -> str:
|
|||
igniter.open_dialog()
|
||||
|
||||
try:
|
||||
openpype_mongo = bootstrap.registry.get_secure_item(
|
||||
openpype_mongo = bootstrap.secure_registry.get_item(
|
||||
"openPypeMongo")
|
||||
except ValueError:
|
||||
raise RuntimeError("missing mongodb url")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue