1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-05 02:32:44 +01:00

[YoutubeDL] More error_to_str

This commit is contained in:
Sergey M․ 2015-12-20 06:22:01 +06:00
parent fb043a6e4e
commit 8900ab4d9b

View File

@ -1511,7 +1511,7 @@ def process_info(self, info_dict):
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)