k
This commit is contained in:
@@ -16,7 +16,6 @@ import time
|
||||
from urllib.parse import urlparse
|
||||
|
||||
from SYS.logger import log, debug
|
||||
from SYS.rich_display import show_provider_config_panel
|
||||
from .HTTP import HTTPClient
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
@@ -1105,9 +1104,8 @@ def unlock_link_cmdlet(result: Any, args: Sequence[str], config: Dict[str, Any])
|
||||
api_key = _get_alldebrid_api_key_from_config(config)
|
||||
|
||||
if not api_key:
|
||||
show_provider_config_panel("alldebrid", ["api_key"])
|
||||
log(
|
||||
"AllDebrid API key not configured (provider.alldebrid.api_key)",
|
||||
"AllDebrid API key not configured. Use .config to set it.",
|
||||
file=sys.stderr
|
||||
)
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user