We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 72111e6 + 8e6dce2 commit 2fec3f6Copy full SHA for 2fec3f6
1 file changed
aries_cloudagent/core/profile.py
@@ -315,14 +315,14 @@ def __init__(self):
315
316
def provide(self, settings: BaseSettings, injector: BaseInjector):
317
"""Create the profile manager instance."""
318
+ mgr_type = settings.get_value("wallet.type", default="in_memory")
319
- mgr_type = settings.get_value("wallet.type", default="in_memory").lower()
320
- if mgr_type == "basic":
+ if mgr_type.lower() == "basic":
321
# map previous value
322
mgr_type = "in_memory"
323
324
# mgr_type may be a fully qualified class name
325
- mgr_class = self.MANAGER_TYPES.get(mgr_type, mgr_type)
+ mgr_class = self.MANAGER_TYPES.get(mgr_type.lower(), mgr_type)
326
327
if mgr_class not in self._inst:
328
LOGGER.info("Create profile manager: %s", mgr_type)
0 commit comments