From: Sergey M․ Date: Sun, 20 Dec 2015 00:35:58 +0000 (+0600) Subject: [YoutubeDL] Revert error_to_str for ExtractorError X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=2c74e6fa77935804b8e63807e23762e97a25f4d5;p=youtube-dl [YoutubeDL] Revert error_to_str for ExtractorError --- diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 1795097ae..bf05e9340 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -677,7 +677,7 @@ class YoutubeDL(object): else: return ie_result except ExtractorError as e: # An error we somewhat expected - self.report_error(error_to_str(e), e.format_traceback()) + self.report_error(compat_str(e), e.format_traceback()) break except MaxDownloadsReached: raise