From ed3d9bd5954c3e2d15ed7d225c966912f73a02e6 Mon Sep 17 00:00:00 2001 From: Abin Simon Date: Fri, 21 Apr 2017 10:52:34 +0530 Subject: [PATCH] remove interface name from traffic --- bumblebee/modules/traffic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumblebee/modules/traffic.py b/bumblebee/modules/traffic.py index 6e2a6b2..067f4a5 100644 --- a/bumblebee/modules/traffic.py +++ b/bumblebee/modules/traffic.py @@ -38,7 +38,7 @@ class Module(bumblebee.engine.Module): _prev_down = widget.get("absdown", 0) _speed_down = bumblebee.util.bytefmt(int(_current_down) - int(_prev_down)) _speed_up = bumblebee.util.bytefmt(int(_current_up) - int(_prev_up)) - widget.full_text("{} {} {}".format(interface, _speed_down, _speed_up)) + widget.full_text("{} {}".format(_speed_down, _speed_up)) widget.set("absdown", _current_down) widget.set("absup", _current_up)