From f6e658cc7aeb23fa064978f0f51fac156d259031 Mon Sep 17 00:00:00 2001 From: bashonly <88596187+bashonly@users.noreply.github.com> Date: Sun, 12 May 2024 22:59:39 +0000 Subject: [PATCH] minutia --- yt_dlp/extractor/googledrive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/googledrive.py b/yt_dlp/extractor/googledrive.py index c11a108f6..c19192cfa 100644 --- a/yt_dlp/extractor/googledrive.py +++ b/yt_dlp/extractor/googledrive.py @@ -194,7 +194,7 @@ class GoogleDriveIE(InfoExtractor): continue format_id, format_url = fmt_stream_split[:2] ext = self._FORMATS_EXT.get(format_id) - if ext is None: + if not ext: self.report_warning(f'Unknown format {format_id}{bug_reports_message()}') f = { 'url': lowercase_escape(format_url),