Skip to content
Snippets Groups Projects
Commit 54d069d2 authored by Alan De Smet's avatar Alan De Smet
Browse files

Tighten up download report

parent cd03d797
No related branches found
No related tags found
No related merge requests found
......@@ -122,12 +122,12 @@ class DownloadStatistics:
self.finish()
speed = self.downloaded_size/(self.total_time().total_seconds())
ret = [
f"Downloaded {self.downloaded_files} files",
f"totalling {self.downloaded_size:,} bytes.",
f"Pulled {self.cache_hits} files from cache,",
f"saving {self.cache_size:,} bytes of download.",
f"Deleted {self.deleted_files} files,",
f"freeing {self.deleted_size:,} bytes of space.",
f"Downloaded {self.downloaded_files} files "
f"totalling {self.downloaded_size:,} bytes.",
f"Pulled {self.cache_hits} files from cache, "
f"saving {self.cache_size:,} bytes of download.",
f"Deleted {self.deleted_files} files, "
f"freeing {self.deleted_size:,} bytes of space.",
f"Took {self.total_time()}.",
f"Average download speed of {speed:,.0f} bytes per second.",
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment