aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/rai.py
diff options
context:
space:
mode:
authornixxo <nixxo@protonmail.com>2022-08-18 22:58:59 +0200
committerGitHub <noreply@github.com>2022-08-19 02:28:59 +0530
commit4d37d4a77c50c326b273efbaed5afa1c45771474 (patch)
treebb7c4844e6b2591eff037f6ff00ccb8d10b0efd0 /yt_dlp/extractor/rai.py
parent7d3b98be4c4567b985ba7d7b17057e930457edc9 (diff)
downloadhypervideo-pre-4d37d4a77c50c326b273efbaed5afa1c45771474.tar.lz
hypervideo-pre-4d37d4a77c50c326b273efbaed5afa1c45771474.tar.xz
hypervideo-pre-4d37d4a77c50c326b273efbaed5afa1c45771474.zip
[extractor/rai] Minor fix (#4700)
Closes #4691, #4690
Diffstat (limited to 'yt_dlp/extractor/rai.py')
-rw-r--r--yt_dlp/extractor/rai.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/rai.py b/yt_dlp/extractor/rai.py
index dc911069d..6ed8227eb 100644
--- a/yt_dlp/extractor/rai.py
+++ b/yt_dlp/extractor/rai.py
@@ -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'