From: Ricardo Garcia Date: Fri, 25 Jul 2008 21:43:00 +0000 (+0200) Subject: Improve error message regarding output templates and charsets X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=b1a1f8ea8f40ed26b7071eda139e31493f6f7972;p=youtube-dl Improve error message regarding output templates and charsets --- 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)