net_speed: fix whitespace issue
This commit is contained in:
parent
dad5eb0c5c
commit
d6b9c95a4c
@ -27,7 +27,7 @@ class NetSpeed(IntervalModule):
|
|||||||
units = 'bits'
|
units = 'bits'
|
||||||
format = "↓{speed_down:.1f}{down_units} ↑{speed_up:.1f}{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:
|
||||||
"""
|
"""
|
||||||
formats a bps as bps/kbps/mbps/gbps etc
|
formats a bps as bps/kbps/mbps/gbps etc
|
||||||
handles whether its meant to be in bytes
|
handles whether its meant to be in bytes
|
||||||
|
Loading…
Reference in New Issue
Block a user