From 93ec5383e8f6cc8a0c11317074b6c9570f268c0d Mon Sep 17 00:00:00 2001 From: lexicallychallenged Date: Sat, 25 Jul 2020 18:08:53 +0000 Subject: [PATCH] bug: change variable to actually defined one and remove non-existent method call --- deemix/app/downloader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deemix/app/downloader.py b/deemix/app/downloader.py index f6bd58f..7a15c9d 100644 --- a/deemix/app/downloader.py +++ b/deemix/app/downloader.py @@ -144,8 +144,8 @@ def getPreferredBitrate(dz, track, bitrate, fallback=True): if not fallback: error_num = -100 - formats = formats360 - formats.extend(formats_non_360) + formats = formats_360 + formats.update(formats_non_360) elif int(bitrate) in formats_360: error_num = -200 formats = formats_360