From 00ef748cc0e35ee60efd0f7a00e373ab8d1af86b Mon Sep 17 00:00:00 2001 From: dirkf Date: Sun, 24 Sep 2023 22:00:13 +0100 Subject: [downloader] Fix baa6c5e: show ETA of http download as ETA instead of total d/l time --- youtube_dl/downloader/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'youtube_dl/downloader/common.py') 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: -- cgit v1.2.3