k
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user