projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98727e1
)
[YoutubeDL] Improve description file naming
author
Sergey M․
<dstftw@gmail.com>
Sat, 2 May 2015 17:36:55 +0000
(23:36 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 2 May 2015 17:36:55 +0000
(23:36 +0600)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index 27c1e726ffb549c849e1ccea58dabd094a6f85ef..eb7470f72cd39572071b6624180d4d2e0c08cbda 100755
(executable)
--- a/
youtube_dl/YoutubeDL.py
+++ b/
youtube_dl/YoutubeDL.py
@@
-1271,7
+1271,7
@@
class YoutubeDL(object):
return
if self.params.get('writedescription', False):
- descfn =
filename + '.description'
+ descfn =
replace_extension(filename, 'description', info_dict.get('ext'))
if self.params.get('nooverwrites', False) and os.path.exists(encodeFilename(descfn)):
self.to_screen('[info] Video description is already present')
elif info_dict.get('description') is None: