diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-05-17 18:36:29 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-05-17 18:41:46 +0530 |
commit | 591bb9d3553a4d7b453777c1e28e0948741e3b50 (patch) | |
tree | 44e8e3873c6d8e6d06c7a92b3b32179242e114c2 /yt_dlp/cookies.py | |
parent | 5faf6528fb701724ac32e0a487f92281c7800bda (diff) | |
download | hypervideo-pre-591bb9d3553a4d7b453777c1e28e0948741e3b50.tar.lz hypervideo-pre-591bb9d3553a4d7b453777c1e28e0948741e3b50.tar.xz hypervideo-pre-591bb9d3553a4d7b453777c1e28e0948741e3b50.zip |
Fix color in `-q -F`
and convert `ydl._out_files`/`ydl._allow_colors` to `Namespace`
Closes #3761
Diffstat (limited to 'yt_dlp/cookies.py')
-rw-r--r-- | yt_dlp/cookies.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/cookies.py b/yt_dlp/cookies.py index 1598828f2..f427c8bfe 100644 --- a/yt_dlp/cookies.py +++ b/yt_dlp/cookies.py @@ -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 |