updated old legacy store names
This commit is contained in:
+3
-3
@@ -1084,9 +1084,9 @@ def get_store_backend(
|
||||
registry = store_registry
|
||||
if registry is None:
|
||||
try:
|
||||
from Store import Store
|
||||
from PluginCore.backend_registry import BackendRegistry
|
||||
|
||||
registry = Store(config or {}, suppress_debug=suppress_debug)
|
||||
registry = BackendRegistry(config or {}, suppress_debug=suppress_debug)
|
||||
except Exception as exc:
|
||||
return None, None, exc
|
||||
|
||||
@@ -1110,7 +1110,7 @@ def get_preferred_store_backend(
|
||||
"""Prefer a targeted backend instance before falling back to registry lookup."""
|
||||
direct_exc: Optional[Exception] = None
|
||||
try:
|
||||
from Store.registry import get_backend_instance
|
||||
from PluginCore.backend_registry import get_backend_instance
|
||||
|
||||
backend = get_backend_instance(
|
||||
config or {},
|
||||
|
||||
Reference in New Issue
Block a user