1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-06-30 11:02:54 -05:00

[outtmpl] Fix some minor bugs

Closes #7164
This commit is contained in:
pukkandan
2023-06-21 05:15:03 +05:30
parent a35af4306d
commit ebe1b4e34f
3 changed files with 7 additions and 7 deletions

View File

@ -755,7 +755,7 @@ class TestYoutubeDL(unittest.TestCase):
test('%(id)d %(id)r', "1234 '1234'")
test('%(id)r %(height)r', "'1234' 1080")
test('%(ext)s-%(ext|def)d', 'mp4-def')
test('%(width|0)04d', '0000')
test('%(width|0)04d', '0')
test('a%(width|b)d', 'ab', outtmpl_na_placeholder='none')
FORMATS = self.outtmpl_info['formats']