This commit is contained in:
Nathan Thomas 2022-01-16 08:18:36 -08:00
parent 8eadd16439
commit 567b4716ab
1 changed files with 2 additions and 1 deletions

View File

@ -37,6 +37,7 @@ from .exceptions import (
InvalidAppSecretError,
InvalidQuality,
MissingCredentials,
NonStreamable,
)
from .spoofbuz import Spoofer
from .utils import gen_threadsafe_session, get_quality, safe_get
@ -569,7 +570,7 @@ class DeezerClient(Client):
token = track_info["TRACK_TOKEN"]
try:
url = self.client.get_track_url(token, format_str)
except deezer.WrongLicence:
except deezer.WrongLicense:
raise NonStreamable(
"The requested quality is not available with your subscription. "
"Deezer HiFi is required for quality 2. Otherwise, the maximum "