updated old legacy store names

This commit is contained in:
2026-05-23 13:49:47 -07:00
parent e8913d1344
commit a8cdd09e1e
31 changed files with 466 additions and 469 deletions
+3 -3
View File
@@ -133,7 +133,7 @@ def _store_choices_payload(choices: Any) -> Optional[str]:
def _load_store_choices_from_config(*, force_reload: bool = False) -> list[str]:
from Store.registry import list_configured_backend_names # noqa: WPS433
from PluginCore.backend_registry import list_configured_backend_names # noqa: WPS433
cfg = reload_config() if force_reload else load_config()
return _normalize_store_choices(list_configured_backend_names(cfg or {}))
@@ -810,10 +810,10 @@ def _run_op(op: str, data: Any) -> Dict[str, Any]:
"find-url",
"find_url"}:
try:
from Store import Store # noqa: WPS433
from PluginCore.backend_registry import BackendRegistry # noqa: WPS433
cfg = load_config() or {}
storage = Store(config=cfg, suppress_debug=True)
storage = BackendRegistry(config=cfg, suppress_debug=True)
raw_needles: list[str] = []
if isinstance(data, dict):