2fp is too precise I think
This commit is contained in:
parent
338ad21ccb
commit
439e725107
@ -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:
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user