diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-12-23 05:03:32 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-12-23 05:03:32 +0100 |
commit | 9fc3bef87a1009eb48f2012f3eab65761a53ba5e (patch) | |
tree | a8f80150af91bc2c749116b80fb314fffefd432c /test/test_download.py | |
parent | d80044c235afcbcfa905ab08a82f6f972df25268 (diff) | |
parent | 3bc2ddccc8622379ec11e802dff30a635285a9c8 (diff) |
Merge remote-tracking branch 'jaimeMF/split-downloaders'
Diffstat (limited to 'test/test_download.py')
-rw-r--r-- | test/test_download.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_download.py b/test/test_download.py index dd5818dba..f242b3528 100644 --- a/test/test_download.py +++ b/test/test_download.py @@ -90,7 +90,7 @@ def generator(test_case): def _hook(status): if status['status'] == 'finished': finished_hook_called.add(status['filename']) - ydl.fd.add_progress_hook(_hook) + ydl.add_downloader_progress_hook(_hook) def get_tc_filename(tc): return tc.get('file') or ydl.prepare_filename(tc.get('info_dict', {})) |