From b1a1f8ea8f40ed26b7071eda139e31493f6f7972 Mon Sep 17 00:00:00 2001 From: Ricardo Garcia Date: Fri, 25 Jul 2008 23:43:00 +0200 Subject: [PATCH] Improve error message regarding output templates and charsets --- youtube-dl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube-dl b/youtube-dl index 7527a47044..48f5d2bf1a 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)