diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-06-06 19:30:21 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-06-06 19:36:28 +0530 |
commit | 87ea7dfc04a63a4ef80786ade1f0de93c6fe7fcd (patch) | |
tree | f85927db7772fce5beae8e8fca97ee59e79c8dcd /yt_dlp/YoutubeDL.py | |
parent | eb0f9d68386b9f387e7908675720af67b6c12091 (diff) | |
download | hypervideo-pre-87ea7dfc04a63a4ef80786ade1f0de93c6fe7fcd.tar.lz hypervideo-pre-87ea7dfc04a63a4ef80786ade1f0de93c6fe7fcd.tar.xz hypervideo-pre-87ea7dfc04a63a4ef80786ade1f0de93c6fe7fcd.zip |
Fix filename sanitization
Bug from 752cda3880f30a46bed1d27b69188ab93ad1a368
Diffstat (limited to 'yt_dlp/YoutubeDL.py')
-rw-r--r-- | yt_dlp/YoutubeDL.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 5b9cc235e..df6306fd0 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -915,7 +915,7 @@ class YoutubeDL(object): # If value is an object, sanitize might convert it to a string # So we convert it to repr first value, fmt = repr(value), '%ss' % fmt[:-1] - value = sanitize(key, value) + value = sanitize(key, value) tmpl_dict[key] = value return '%({key}){fmt}'.format(key=key, fmt=fmt) |