1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-14 03:07:28 +08:00

use global eta

This commit is contained in:
xantares 2015-02-17 20:04:43 +01:00
parent d837a0db41
commit 1da87389c6

View File

@ -342,7 +342,7 @@ class F4mFD(FileDownloader):
if 'speed' in status: if 'speed' in status:
toplevel_status['speed'] = status['speed'] toplevel_status['speed'] = status['speed']
if 'eta' in status: if 'eta' in status:
toplevel_status['eta'] = status['eta'] toplevel_status['eta'] = eta
for hook in self._progress_hooks: for hook in self._progress_hooks:
hook(toplevel_status) hook(toplevel_status)