X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=youtube_dl%2FYoutubeDL.py;h=d4dd05d8c803e2eb7aab75ca77caf867da0b9e83;hb=d11271dd2907d2552ef61b61270bc41d8149cc5a;hp=bd7497f857ec68a298977e67fcfdc337526e86ec;hpb=b58ddb32bae180dfad240ded5d247cab9a1f2215;p=youtube-dl.git diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py old mode 100644 new mode 100755 index bd7497f85..d4dd05d8c --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -936,7 +936,7 @@ class YoutubeDL(object): with io.open(encodeFilename(sub_filename), 'w', encoding='utf-8') as subfile: subfile.write(sub) except (OSError, IOError): - self.report_error('Cannot write subtitles file ' + descfn) + self.report_error('Cannot write subtitles file ' + sub_filename) return if self.params.get('writeinfojson', False):