Fix Deezer download crash: config_manager not in scope
Deezer client imports config_manager locally in __init__ and stores it as self._config, unlike the other clients which import at module level. The allow_fallback line was referencing the wrong name.
This commit is contained in:
parent
6101832ee1
commit
616b377225
1 changed files with 1 additions and 1 deletions
|
|
@ -451,7 +451,7 @@ class DeezerDownloadClient:
|
|||
# Determine quality and get media URL with fallback
|
||||
media_url = None
|
||||
actual_quality = None
|
||||
allow_fallback = config_manager.get('deezer_download.allow_fallback', True)
|
||||
allow_fallback = self._config.get('deezer_download.allow_fallback', True)
|
||||
|
||||
if allow_fallback:
|
||||
quality_order = _QUALITY_ORDER.copy()
|
||||
|
|
|
|||
Loading…
Reference in a new issue