From eaa0ec4fc3923ac97850b06448a4380271f3bbac Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 1 Oct 2021 07:57:21 +0530 Subject: [PATCH] ... --- publish.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publish.py b/publish.py index fc28ed8d3..144f2ba6d 100755 --- a/publish.py +++ b/publish.py @@ -190,7 +190,7 @@ class ReadFileWithProgressReporting(io.FileIO): # {{{ f'\r\033[K\033[?7h {frac:%} {mb_pos:.1f}/{mb_tot:.1f}MB {kb_rate:.1f} KB/sec {eta_m} minutes, {eta_s} seconds left\033[?7l') if self.tell() >= self._total: t = int(time.monotonic() - self.start_time) + 1 - print(f'\nUpload took {t/60} minutes and {t%60} seconds at {kb_rate:.1f} KB/sec') + print(f'\nUpload took {t//60} minutes and {t%60} seconds at {kb_rate:.1f} KB/sec') sys.stdout.flush()