This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[downloader/external] Decode error string before writing to stderr
totalwebcasting
Sergey M․
9 years ago
parent
77a9a9c295
commit
e69f9f5d68
No known key found for this signature in database
GPG Key ID:
2C393E0F18A9236D
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
youtube_dl/downloader/external.py
+ 1
- 1
youtube_dl/downloader/external.py
View File
@ -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
Write
Preview
Loading…
Cancel
Save