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:
parent
d837a0db41
commit
1da87389c6
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user