]> git.bitcoin.ninja Git - youtube-dl/commitdiff
Clarify template error message (#1209)
authorPhilipp Hagemeister <phihag@phihag.de>
Thu, 8 Aug 2013 06:55:26 +0000 (08:55 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Thu, 8 Aug 2013 06:55:26 +0000 (08:55 +0200)
youtube_dl/YoutubeDL.py

index 4968669002a8edd0297a5cc3ba1ddddd3d59df49..3df653c5d030253ef5bc09f8f43db30db2b111a8 100644 (file)
@@ -264,7 +264,7 @@ class YoutubeDL(object):
             self.report_error(u'Erroneous output template')
             return None
         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
 
     def _match_entry(self, info_dict):