net_speed: fix whitespace issue

This commit is contained in:
enkore 2020-07-16 23:56:03 +02:00 committed by GitHub
parent dad5eb0c5c
commit d6b9c95a4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ class NetSpeed(IntervalModule):
units = 'bits'
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
handles whether its meant to be in bytes