Merge pull request 'bug: change variable to actually defined one and remove non-existent method call' (#4) from lexicallychallenged/deemix:fix-formats360 into main
Reviewed-on: https://codeberg.org/RemixDev/deemix/pulls/4
This commit is contained in:
commit
04827898b0
|
@ -144,8 +144,8 @@ def getPreferredBitrate(dz, track, bitrate, fallback=True):
|
||||||
|
|
||||||
if not fallback:
|
if not fallback:
|
||||||
error_num = -100
|
error_num = -100
|
||||||
formats = formats360
|
formats = formats_360
|
||||||
formats.extend(formats_non_360)
|
formats.update(formats_non_360)
|
||||||
elif int(bitrate) in formats_360:
|
elif int(bitrate) in formats_360:
|
||||||
error_num = -200
|
error_num = -200
|
||||||
formats = formats_360
|
formats = formats_360
|
||||||
|
|
Loading…
Reference in New Issue