From d98a48e6c4d48a3e81870888c45f7b67be4f649b Mon Sep 17 00:00:00 2001 From: bashonly Date: Tue, 20 May 2025 15:28:59 -0500 Subject: [PATCH] ruff Authored by: bashonly --- yt_dlp/extractor/twitch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/twitch.py b/yt_dlp/extractor/twitch.py index b7ad3ad46d..2024da88be 100644 --- a/yt_dlp/extractor/twitch.py +++ b/yt_dlp/extractor/twitch.py @@ -1063,7 +1063,7 @@ class TwitchStreamIE(TwitchPlaylistBaseIE): if self.get_param('live_from_start'): entry = next(self._entries(channel_name, None, 'time'), None) - if entry and timestamp <= entry.get('timestamp') or 0: + if entry and timestamp <= (entry.get('timestamp') or 0): return entry self.report_warning('Unable to extract associated VOD; cannot download live from start')