From 2c74e6fa77935804b8e63807e23762e97a25f4d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Sun, 20 Dec 2015 06:35:58 +0600 Subject: [PATCH] [YoutubeDL] Revert error_to_str for ExtractorError --- youtube_dl/YoutubeDL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 1795097ae8..bf05e9340b 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -677,7 +677,7 @@ def extract_info(self, url, download=True, ie_key=None, extra_info={}, 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