This commit is contained in:
2026-01-11 01:14:45 -08:00
parent 61ab690604
commit f4283759e1
6 changed files with 7 additions and 91 deletions

View File

@@ -311,13 +311,7 @@ def prepare_magnet(
) -> tuple[Optional[AllDebridClient], Optional[int]]:
api_key = _get_debrid_api_key(config or {})
if not api_key:
try:
from SYS.rich_display import show_provider_config_panel
show_provider_config_panel("alldebrid", ["api_key"])
except Exception:
pass
log("AllDebrid API key not configured (provider.alldebrid.api_key)", file=sys.stderr)
log("AllDebrid API key not configured. Use .config to set it.", file=sys.stderr)
return None, None
try:

View File

@@ -1187,18 +1187,9 @@ class OpenLibrary(Provider):
email, password = self._credential_archive(self.config or {})
if not email or not password:
log(
"[openlibrary] Archive credentials missing; cannot borrow",
"[openlibrary] Archive credentials missing; cannot borrow. Use .config to set them.",
file=sys.stderr
)
try:
from SYS.rich_display import show_provider_config_panel
show_provider_config_panel(
"openlibrary",
keys=self.required_config_keys(),
)
except Exception:
pass
return None
lendable = True