mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-02-09 19:16:51 +01:00
Update yt_dlp/YoutubeDL.py
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
This commit is contained in:
parent
200d27682d
commit
ba9cfb23f2
@ -1430,7 +1430,7 @@ class YoutubeDL:
|
||||
if not trim_filename:
|
||||
return self.escape_outtmpl(outtmpl) % info_dict
|
||||
|
||||
ext_suffix = '.%(ext\x00s)s' # not sure why this has null char
|
||||
ext_suffix = '.%(ext\0s)s'
|
||||
suffix = ''
|
||||
if outtmpl.endswith(ext_suffix):
|
||||
outtmpl = outtmpl[:-len(ext_suffix)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user