mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-13 14:37:43 +01:00
Clarify template error message (#1209)
This commit is contained in:
parent
526e638c8a
commit
4efba05c56
@ -264,7 +264,7 @@ def prepare_filename(self, info_dict):
|
|||||||
self.report_error(u'Erroneous output template')
|
self.report_error(u'Erroneous output template')
|
||||||
return None
|
return None
|
||||||
except ValueError as err:
|
except ValueError as err:
|
||||||
self.report_error(u'Insufficient system charset ' + repr(preferredencoding()))
|
self.report_error(u'Error in output template: ' + str(err) + u' (encoding: ' + repr(preferredencoding()) + ')')
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def _match_entry(self, info_dict):
|
def _match_entry(self, info_dict):
|
||||||
|
Loading…
Reference in New Issue
Block a user