diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-12-20 06:35:58 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-12-20 06:35:58 +0600 |
commit | 2c74e6fa77935804b8e63807e23762e97a25f4d5 (patch) | |
tree | f3988bdc042170bf13e0dea2bb2c8a99586589db /youtube_dl/YoutubeDL.py | |
parent | c0384f221e5a8383c377a3c43f634cf9807eb634 (diff) |
[YoutubeDL] Revert error_to_str for ExtractorError
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-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 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 |