aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/YoutubeDL.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-05-17 19:39:28 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-05-17 19:46:01 +0530
commit5792c950bfd9f8b6730659b3046b41c1aea64c98 (patch)
tree73e86196fef2070260eefc43ed053741af13a9f4 /yt_dlp/YoutubeDL.py
parent7a96d0b39c34c6c8c42cc6aaac90dd8d0f5a51d7 (diff)
downloadhypervideo-pre-5792c950bfd9f8b6730659b3046b41c1aea64c98.tar.lz
hypervideo-pre-5792c950bfd9f8b6730659b3046b41c1aea64c98.tar.xz
hypervideo-pre-5792c950bfd9f8b6730659b3046b41c1aea64c98.zip
[compat] Implement `compat.imghdr`
Python 3.11 deprecates `imghdr` module
Diffstat (limited to 'yt_dlp/YoutubeDL.py')
-rw-r--r--yt_dlp/YoutubeDL.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py
index c9de2437d..d1094a01b 100644
--- a/yt_dlp/YoutubeDL.py
+++ b/yt_dlp/YoutubeDL.py
@@ -806,7 +806,7 @@ class YoutubeDL:
if self.params.get('logger'):
self.params['logger'].error(message)
else:
- self._write_string(f'{self._bidi_workaround(message)}\n' , self._out_files.error, only_once=only_once)
+ self._write_string(f'{self._bidi_workaround(message)}\n', self._out_files.error, only_once=only_once)
def _send_console_code(self, code):
if compat_os_name == 'nt' or not self._out_files.console: