summaryrefslogtreecommitdiffstats
path: root/yt_dlp/__init__.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:06:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:06:31 +0000
commitf9eea6bfd334face61277923d7b73655bbb79433 (patch)
treef1411ed71fdf7e8b7973697b402935d1cf378064 /yt_dlp/__init__.py
parentAdding upstream version 2024.07.01. (diff)
downloadyt-dlp-f9eea6bfd334face61277923d7b73655bbb79433.tar.xz
yt-dlp-f9eea6bfd334face61277923d7b73655bbb79433.zip
Adding upstream version 2024.07.02.upstream/2024.07.02
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'yt_dlp/__init__.py')
-rw-r--r--yt_dlp/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/__init__.py b/yt_dlp/__init__.py
index f88f15d..0e48569 100644
--- a/yt_dlp/__init__.py
+++ b/yt_dlp/__init__.py
@@ -599,7 +599,7 @@ def validate_options(opts):
warnings.append(
'Using allow-unsafe-ext opens you up to potential attacks. '
'Use with great care!')
- _UnsafeExtensionError.sanitize_extension = lambda x: x
+ _UnsafeExtensionError.sanitize_extension = lambda x, prepend=False: x
return warnings, deprecation_warnings