From 32a31d884299efcd1c035fb400a4edcdc361e6a1 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Tue, 28 Dec 2021 08:46:01 +0100 Subject: [PATCH] fixed mistype #32 --- deemix/downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deemix/downloader.py b/deemix/downloader.py index 49fc616..1f1334b 100644 --- a/deemix/downloader.py +++ b/deemix/downloader.py @@ -113,7 +113,7 @@ def getPreferredBitrate(dz, track, preferredBitrate, shouldFallback, feelingLuck url = None # Check the track with the legit method wrongLicense = ( - (formatName == "FLAC" or formatName.startswidth("MP4_RA")) and not dz.current_user.get('can_stream_lossless') or \ + (formatName == "FLAC" or formatName.startswith("MP4_RA")) and not dz.current_user.get('can_stream_lossless') or \ formatName == "MP3_320" and not dz.current_user.get('can_stream_hq') ) if track.filesizes.get(formatName.lower()) and track.filesizes[formatName.lower()] != "0":