X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2FYoutubeDL.py;h=d4dd05d8c803e2eb7aab75ca77caf867da0b9e83;hb=1db2666916f25d9e3d6e73c60fe36e1ce99d1813;hp=bd7497f857ec68a298977e67fcfdc337526e86ec;hpb=b58ddb32bae180dfad240ded5d247cab9a1f2215;p=youtube-dl 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):