2fp is too precise I think

This commit is contained in:
Gareth Dunstone 2016-09-14 10:33:10 +10:00
parent 338ad21ccb
commit 439e725107

View File

@ -22,7 +22,7 @@ class NetSpeed(IntervalModule):
color = "#FFFFFF" color = "#FFFFFF"
interval = 300 interval = 300
units = 'bits' units = 'bits'
format = "{speed_down:.2f}{down_units}{speed_up:.2f}{up_units} ({hosting_provider})" format = "{speed_down:.1f}{down_units}{speed_up:.1f}{up_units} ({hosting_provider})"
def form_b(self, n: float)->tuple: def form_b(self, n: float)->tuple:
""" """