Browse Source

Improve error message regarding output templates and charsets

master
Ricardo Garcia 16 years ago
parent
commit
b1a1f8ea8f
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube-dl

2
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)

Loading…
Cancel
Save