From 207aa220357f380d841413cac98053ae3a3a94ed Mon Sep 17 00:00:00 2001 From: Gareth Dunstone Date: Wed, 28 Sep 2016 14:15:35 +1000 Subject: [PATCH] change to conf as per https://github.com/enkore/i3pystatus/pull/449#issuecomment-247045192 --- i3pystatus/net_speed.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/i3pystatus/net_speed.py b/i3pystatus/net_speed.py index 1f70c21..8981d66 100644 --- a/i3pystatus/net_speed.py +++ b/i3pystatus/net_speed.py @@ -13,6 +13,8 @@ class NetSpeed(IntervalModule): """ Attempts to provide an estimation of internet speeds. Requires: speedtest-cli/modularize-2 + speedtest-cli/modularize-2 can be installed using pip: + `pip install https://github.com/sivel/speedtest-cli/archive/modularize-2.zip` """ settings = ( @@ -26,7 +28,7 @@ class NetSpeed(IntervalModule): def form_b(self, n: float)->tuple: """ - formates 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 :param n: input float :rtype tuple: