]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/cookies.py
Fix color in `-q -F`
[yt-dlp.git] / yt_dlp / cookies.py
index 1598828f242c527c14220a3d3fac70b1ecc9b8db..f427c8bfea76a9d2cd9a773869b8fdac8098be99 100644 (file)
@@ -63,7 +63,7 @@ def progress_bar(self):
         # 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