mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-04 11:26:40 -04:00
Fix color in -q -F
and convert `ydl._out_files`/`ydl._allow_colors` to `Namespace` Closes #3761
This commit is contained in:
@@ -63,7 +63,7 @@ class YDLLogger:
|
||||
# Do not print to files/pipes, loggers, or when --no-progress is used
|
||||
if not self._ydl or self._ydl.params.get('noprogress') or self._ydl.params.get('logger'):
|
||||
return
|
||||
file = self._ydl._out_files['error']
|
||||
file = self._ydl._out_files.error
|
||||
try:
|
||||
if not file.isatty():
|
||||
return
|
||||
|
Reference in New Issue
Block a user