summaryrefslogtreecommitdiffstats
path: root/yt_dlp/__init__.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:07:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:07:16 +0000
commit297d349bd232dae91ce81648646e4be518385a07 (patch)
tree0e689f0d8b94f04eefd60bc0f6da4bb0106b3ce6 /yt_dlp/__init__.py
parentAdding upstream version 2024.07.09. (diff)
downloadyt-dlp-297d349bd232dae91ce81648646e4be518385a07.tar.xz
yt-dlp-297d349bd232dae91ce81648646e4be518385a07.zip
Adding upstream version 2024.07.16.upstream/2024.07.16
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 0e48569..c0b8e3b 100644
--- a/yt_dlp/__init__.py
+++ b/yt_dlp/__init__.py
@@ -468,7 +468,7 @@ def validate_options(opts):
default_downloader = ed.get_basename()
for policy in opts.color.values():
- if policy not in ('always', 'auto', 'no_color', 'never'):
+ if policy not in ('always', 'auto', 'auto-tty', 'no_color', 'no_color-tty', 'never'):
raise ValueError(f'"{policy}" is not a valid color policy')
warnings, deprecation_warnings = [], []