mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-01-03 03:59:31 +01:00
Misc fixes - See desc
* Remove unnecessary uses of _list_from_options_callback
* Fix download tests - Bug from 6e84b21559
* Rename ExecAfterDownloadPP to ExecPP and refactor its tests
* Ensure _write_ytdl_file closes file handle on error - Potential fix for #517
This commit is contained in:
parent
2831b4686c
commit
ad3dc496bb
8 changed files with 43 additions and 41 deletions
|
|
@ -147,7 +147,7 @@ def generator(test_case, tname):
|
|||
expect_warnings(ydl, test_case.get('expected_warnings', []))
|
||||
|
||||
def get_tc_filename(tc):
|
||||
return ydl.prepare_filename(tc.get('info_dict', {}))
|
||||
return ydl.prepare_filename(dict(tc.get('info_dict', {})))
|
||||
|
||||
res_dict = None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue