From cf062041877730dfe7e39a63583643b53cf567b0 Mon Sep 17 00:00:00 2001 From: sepro Date: Fri, 11 Apr 2025 23:16:01 +0200 Subject: [PATCH] Update yt_dlp/options.py --- yt_dlp/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/options.py b/yt_dlp/options.py index c5aaa9f39b..45b35e1cbc 100644 --- a/yt_dlp/options.py +++ b/yt_dlp/options.py @@ -225,7 +225,7 @@ class _YoutubeDLOptionParser(optparse.OptionParser): raise def format_option_help(self, formatter=None): - assert formatter, '' + assert formatter, 'Formatter can not be None' formatted_help = super().format_option_help(formatter=formatter) formatter.indent() heading = formatter.format_heading('Preset aliases')