diff options
author | Ricardo Garcia <[email protected]> | 2008-07-25 23:43:00 +0200 |
---|---|---|
committer | Ricardo Garcia <[email protected]> | 2010-10-31 11:23:31 +0100 |
commit | b1a1f8ea8f40ed26b7071eda139e31493f6f7972 (patch) | |
tree | 030836c59033578fd2a51634e2c2bb436a747b9e | |
parent | f807dc157e1215c3dbaf82333f6e86a8f98ea76b (diff) | |
download | youtube-dl-b1a1f8ea8f40ed26b7071eda139e31493f6f7972.tar.gz youtube-dl-b1a1f8ea8f40ed26b7071eda139e31493f6f7972.zip |
Improve error message regarding output templates and charsets
-rwxr-xr-x | youtube-dl | 2 |
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) |