bug: change variable to actually defined one and remove non-existent method call
This commit is contained in:
parent
5163685216
commit
93ec5383e8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue