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:
Broque Thomas 2026-03-24 13:12:23 -07:00
parent 6101832ee1
commit 616b377225

View file

@ -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()