1
0
Fork 0
mirror of synced 2024-09-28 15:31:14 +12:00

Fix too high download speed

This commit is contained in:
lennard 2022-12-01 00:12:12 +01:00
parent 2987f6d779
commit a90d6ba7c8
No known key found for this signature in database
GPG key ID: AB6010FE63C7C2B1

View file

@ -218,7 +218,7 @@ class DownloadsTab(QWidget, Ui_DownloadsTab):
self.progress_bar.setValue(
100 * ui_update.total_downloaded // self.analysis.dl_size
)
self.dl_speed.setText(f"{get_size(ui_update.download_speed)}/s")
self.dl_speed.setText(f"{get_size(ui_update.download_compressed_speed)}/s")
self.cache_used.setText(
f"{get_size(ui_update.cache_usage) if ui_update.cache_usage > 1023 else '0KB'}"
)