Raise IneligibleError if featured lists are accessed with Deezloader

This commit is contained in:
Nathan Thomas 2021-08-19 18:25:17 -07:00
parent 22d2a649ce
commit 0b22c36c4e
4 changed files with 10 additions and 5 deletions

View file

@ -501,7 +501,6 @@ class DeezerClient(Client):
try:
if media_type == "featured":
if query:
print(query)
search_function = getattr(
self.client.api, f"get_editorial_{query}"
)