aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-12-20 06:35:58 +0600
committerSergey M․ <dstftw@gmail.com>2015-12-20 06:35:58 +0600
commit2c74e6fa77935804b8e63807e23762e97a25f4d5 (patch)
treef3988bdc042170bf13e0dea2bb2c8a99586589db
parentc0384f221e5a8383c377a3c43f634cf9807eb634 (diff)
[YoutubeDL] Revert error_to_str for ExtractorError
-rwxr-xr-xyoutube_dl/YoutubeDL.py2
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