diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-12-20 06:22:01 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-12-20 06:22:01 +0600 |
commit | 8900ab4d9bc6bf8a05a1a2608efaff08561945e8 (patch) | |
tree | 79f6b9cb16b768a11f1155de8f11b1b823236646 /youtube_dl | |
parent | fb043a6e4ee98a2ea9fbb0975e701341bbd34bc3 (diff) |
[YoutubeDL] More error_to_str
Diffstat (limited to 'youtube_dl')
-rwxr-xr-x | youtube_dl/YoutubeDL.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 216b5a5db..57df6a279 100755 --- 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) |