1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-22 15:57:23 +00:00

Improve error message regarding output templates and charsets

This commit is contained in:
Ricardo Garcia 2008-07-25 23:43:00 +02:00
parent f807dc157e
commit b1a1f8ea8f

View file

@ -267,7 +267,7 @@ class FileDownloader(object):
filename = self._params['outtmpl'] % result filename = self._params['outtmpl'] % result
self.report_destination(filename) self.report_destination(filename)
except (ValueError, KeyError), err: 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 continue
try: try:
self.pmkdir(filename) self.pmkdir(filename)