1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-24 08:58:53 +00:00

Missed one linting item

This commit is contained in:
Kieran Eglin
2024-06-14 12:50:24 -07:00
parent 15c7bef8d0
commit 7316fc5703

View File

@@ -883,11 +883,11 @@ class TestYoutubeDL(unittest.TestCase):
f.write('EXAMPLE')
return [info['filepath']], info
def run_pp(params, PP):
def run_pp(params, pp):
with open(video_file, 'w') as f:
f.write('EXAMPLE')
ydl = YoutubeDL(params)
ydl.add_post_processor(PP())
ydl.add_post_processor(pp())
ydl.post_process(video_file, {'filepath': video_file})
run_pp({'keepvideo': True, 'outtmpl': filename}, SimplePP)