From 21d62dcd76598dd98512372bdf6e4b720c171e96 Mon Sep 17 00:00:00 2001 From: derrod Date: Tue, 28 Dec 2021 17:39:10 +0100 Subject: [PATCH] [downloader/mp] Fix status message formatting for odd cache usage --- legendary/downloader/mp/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/downloader/mp/manager.py b/legendary/downloader/mp/manager.py index 4cb5453..869e19f 100644 --- a/legendary/downloader/mp/manager.py +++ b/legendary/downloader/mp/manager.py @@ -704,7 +704,7 @@ class DLManager(Process): f'ETA: {hours:02d}:{minutes:02d}:{seconds:02d}') self.log.info(f' - Downloaded: {total_dl / 1024 / 1024:.02f} MiB, ' f'Written: {total_write / 1024 / 1024:.02f} MiB') - self.log.info(f' - Cache usage: {total_used} MiB, active tasks: {self.active_tasks}') + self.log.info(f' - Cache usage: {total_used:.02f} MiB, active tasks: {self.active_tasks}') self.log.info(f' + Download\t- {dl_speed / 1024 / 1024:.02f} MiB/s (raw) ' f'/ {dl_unc_speed / 1024 / 1024:.02f} MiB/s (decompressed)') self.log.info(f' + Disk\t- {w_speed / 1024 / 1024:.02f} MiB/s (write) / '