projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c47d21d
)
Fix subtitle download error reporting (Fixes #2724)
author
robbie
<robbie@prelab.net>
Tue, 8 Apr 2014 14:55:55 +0000
(15:55 +0100)
committer
robbie
<robbie@prelab.net>
Tue, 8 Apr 2014 14:59:27 +0000
(15:59 +0100)
youtube_dl/YoutubeDL.py
[changed mode: 0644->0755]
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
old mode 100644
(file)
new mode 100755
(executable)
index
bd7497f
..
d4dd05d
--- 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):