A feature-rich command-line audio/video downloader
Improve error message regarding output templates and charsets
Ricardo Garciab1a1f8ea8f40
diff --git a/youtube-dl b/youtube-dlindex 7527a47044..48f5d2bf1a 100755--- a/youtube-dl+++ b/youtube-dl@@ -267,7 +267,7 @@ class FileDownloader(object):filename = self._params['outtmpl'] % resultself.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))continuetry:self.pmkdir(filename)