aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>2008-07-25 23:43:00 +0200
committerRicardo Garcia <sarbalap+freshmeat@gmail.com>2010-10-31 11:23:31 +0100
commitb1a1f8ea8f40ed26b7071eda139e31493f6f7972 (patch)
tree030836c59033578fd2a51634e2c2bb436a747b9e
parentf807dc157e1215c3dbaf82333f6e86a8f98ea76b (diff)
Improve error message regarding output templates and charsets
-rwxr-xr-xyoutube-dl2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl
index 7527a4704..48f5d2bf1 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -267,7 +267,7 @@ class FileDownloader(object):
filename = self._params['outtmpl'] % result
self.report_destination(filename)
except (ValueError, KeyError), err:
- retcode = self.trouble('ERROR: invalid output template: %s' % str(err))
+ retcode = self.trouble('ERROR: invalid output template or system charset: %s' % str(err))
continue
try:
self.pmkdir(filename)