mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-11-04 02:24:09 +09:00
Improve error message regarding output templates and charsets
This commit is contained in:
1 parent
f807dc157e
commit
b1a1f8ea8f
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user