[extractor/rai] Minor fix (#4700)

Closes #4691, #4690
pull/4701/head
nixxo 2 years ago committed by GitHub
parent 7d3b98be4c
commit 4d37d4a77c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -156,7 +156,7 @@ class RaiBaseIE(InfoExtractor):
br = int_or_none(tbr)
if len(fmts) == 1 and not br:
br = fmts[0].get('tbr')
if br or 0 > 300:
if br and br > 300:
tbr = compat_str(math.floor(br / 100) * 100)
else:
tbr = '250'

Loading…
Cancel
Save