mirror of
https://codeberg.org/polarisfm/youtube-dl.git
synced 2024-12-25 17:16:46 +00:00
[YoutubeDL] Improve description file naming
This commit is contained in:
parent
98727e123f
commit
2699da8041
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue