diff options
author | dirkf <fieldhouse@gmx.net> | 2023-09-24 22:00:13 +0100 |
---|---|---|
committer | dirkf <fieldhouse@gmx.net> | 2023-09-24 22:07:47 +0100 |
commit | 00ef748cc0e35ee60efd0f7a00e373ab8d1af86b (patch) | |
tree | 7802240515be489ca175c0f02924a2e716c867ad /youtube_dl/downloader/common.py | |
parent | 66ab0814c4baa2dc79c2dd5287bc0ad61a37c5b9 (diff) |
[downloader] Fix baa6c5e: show ETA of http download as ETA instead of total d/l time
Diffstat (limited to 'youtube_dl/downloader/common.py')
-rw-r--r-- | youtube_dl/downloader/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/downloader/common.py b/youtube_dl/downloader/common.py index afb4ee33d..91e691776 100644 --- a/youtube_dl/downloader/common.py +++ b/youtube_dl/downloader/common.py @@ -96,7 +96,7 @@ class FileDownloader(object): return None return int(float(remaining) / rate) start, now = (start_or_rate, now_or_remaining) - total, current = args + total, current = args[:2] if total is None: return None if now is None: |