From 4d37d4a77c50c326b273efbaed5afa1c45771474 Mon Sep 17 00:00:00 2001 From: nixxo Date: Thu, 18 Aug 2022 22:58:59 +0200 Subject: [PATCH] [extractor/rai] Minor fix (#4700) Closes #4691, #4690 --- yt_dlp/extractor/rai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'