A feature-rich command-line audio/video downloader
[downloader/external] Decode error string before writing to stderr
Sergey M․e69f9f5d68ae
diff --git a/youtube_dl/downloader/external.py b/youtube_dl/downloader/external.pyindex 3ff1f9ed4c..fae2450248 100644--- a/youtube_dl/downloader/external.py+++ b/youtube_dl/downloader/external.py@@ -85,7 +85,7 @@ class ExternalFD(FileDownloader):cmd, stderr=subprocess.PIPE)_, stderr = p.communicate()if p.returncode != 0:- self.to_stderr(stderr)+ self.to_stderr(stderr.decode('utf-8', 'replace'))return p.returncode