diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-08-08 08:55:26 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-08-08 08:55:26 +0200 |
commit | 4efba05c56cda1cfe036b6ad8a4e8fc55cc21d4d (patch) | |
tree | ee1e99bbf4b51050daef383fbb43f3995c8211b8 | |
parent | 526e638c8ae750f19bd8b79dc1fef7ad12675487 (diff) |
Clarify template error message (#1209)
-rw-r--r-- | 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 496866900..3df653c5d 100644 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -264,7 +264,7 @@ class YoutubeDL(object): self.report_error(u'Erroneous output template') return None except ValueError as err: - self.report_error(u'Insufficient system charset ' + repr(preferredencoding())) + self.report_error(u'Error in output template: ' + str(err) + u' (encoding: ' + repr(preferredencoding()) + ')') return None def _match_entry(self, info_dict): |