✅ Tests Playwright (20 parcours utilisateur) + suite backend renforcee (56) + DOCUMENTATION.md + nettoyage (settings_store, react-router)
This commit is contained in:
1 parent
231a1f2599
commit
adab24ca61
20 files changed
+1315
-88
No files matched your search
@@ -1,17 +0,0 @@
|
||||
"""Legacy module.
|
||||
|
||||
Historically, MKVTool stored connection settings inside SQLite.
|
||||
The project now externalises its configuration into ./config/conf.json.
|
||||
|
||||
This module is kept temporarily because some imports may still reference it.
|
||||
"""
|
||||
|
||||
from app.conf_store import build_base_url, read_config
|
||||
|
||||
|
||||
def radarr_credentials(_: object | None = None) -> tuple[str, str]:
|
||||
cfg = read_config()
|
||||
url = build_base_url(cfg.radarr.url, cfg.radarr.port)
|
||||
if not url or not cfg.radarr.api_key:
|
||||
raise ValueError("La connexion Radarr n'est pas configurée")
|
||||
return url, cfg.radarr.api_key
|
||||
Reference in new issue
Block a user