Author: andar
Revision: 5161
Log:
Show proper units
Diff:
Modified: trunk/deluge/ui/console/statusbars.py
===================================================================
--- trunk/deluge/ui/console/statusbars.py 2009-04-24 22:52:19 UTC (rev
5160)
+++ trunk/deluge/ui/console/statusbars.py 2009-04-24 22:52:45 UTC (rev
5161)
@@ -22,7 +22,6 @@
# Boston, MA 02110-1301, USA.
#
-
import deluge.component as component
import deluge.common
from deluge.ui.client import client
@@ -91,12 +90,12 @@
self.screen.bottombar += " D: %s/s" % self.download
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
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"]:
self.screen.bottombar += " DHT: %s" % self.dht
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---