mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 23:18:40 +00:00
Show proper units
This commit is contained in:
parent
64b4255b94
commit
c02a647427
1 changed files with 2 additions and 3 deletions
|
@ -22,7 +22,6 @@
|
||||||
# Boston, MA 02110-1301, USA.
|
# Boston, MA 02110-1301, USA.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
import deluge.component as component
|
import deluge.component as component
|
||||||
import deluge.common
|
import deluge.common
|
||||||
from deluge.ui.client import client
|
from deluge.ui.client import client
|
||||||
|
@ -91,12 +90,12 @@ class StatusBars(component.Component):
|
||||||
self.screen.bottombar += " D: %s/s" % self.download
|
self.screen.bottombar += " D: %s/s" % self.download
|
||||||
|
|
||||||
if self.config["max_download_speed"] > -1:
|
if self.config["max_download_speed"] > -1:
|
||||||
self.screen.bottombar += " (%s/s)" % self.config["max_download_speed"]
|
self.screen.bottombar += " (%s KiB/s)" % self.config["max_download_speed"]
|
||||||
|
|
||||||
self.screen.bottombar += " U: %s/s" % self.upload
|
self.screen.bottombar += " U: %s/s" % self.upload
|
||||||
|
|
||||||
if self.config["max_upload_speed"] > -1:
|
if self.config["max_upload_speed"] > -1:
|
||||||
self.screen.bottombar += " (%s/s)" % self.config["max_upload_speed"]
|
self.screen.bottombar += " (%s KiB/s)" % self.config["max_upload_speed"]
|
||||||
|
|
||||||
if self.config["dht"]:
|
if self.config["dht"]:
|
||||||
self.screen.bottombar += " DHT: %s" % self.dht
|
self.screen.bottombar += " DHT: %s" % self.dht
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue