aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-08-08 08:55:26 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-08-08 08:55:26 +0200
commit4efba05c56cda1cfe036b6ad8a4e8fc55cc21d4d (patch)
treeee1e99bbf4b51050daef383fbb43f3995c8211b8 /youtube_dl
parent526e638c8ae750f19bd8b79dc1fef7ad12675487 (diff)
Clarify template error message (#1209)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/YoutubeDL.py2
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):