projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb043a6
)
[YoutubeDL] More error_to_str
author
Sergey M․
<dstftw@gmail.com>
Sun, 20 Dec 2015 00:22:01 +0000
(06:22 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 20 Dec 2015 00:22:01 +0000
(06:22 +0600)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index 216b5a5db7f36f63b7f4214264b552e6a5779d2b..57df6a2795971929166f191b705bbfdc55e85835 100755
(executable)
--- a/
youtube_dl/YoutubeDL.py
+++ b/
youtube_dl/YoutubeDL.py
@@
-1511,7
+1511,7
@@
class YoutubeDL(object):
sub_info['url'], info_dict['id'], note=False)
except ExtractorError as err:
self.report_warning('Unable to download subtitle for "%s": %s' %
- (sub_lang,
compat
_str(err.cause)))
+ (sub_lang,
error_to
_str(err.cause)))
continue
try:
sub_filename = subtitles_filename(filename, sub_lang, sub_format)