From ce54651330a07eda9a1d7871c7d67b7dacfb7668 Mon Sep 17 00:00:00 2001 From: Damodar Rajbhandari Date: Sat, 24 Aug 2019 01:11:12 +0545 Subject: [PATCH] added a line at 106 --- bumblebee/modules/traffic.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bumblebee/modules/traffic.py b/bumblebee/modules/traffic.py index b0fb75e..2eac453 100644 --- a/bumblebee/modules/traffic.py +++ b/bumblebee/modules/traffic.py @@ -103,7 +103,8 @@ class Module(bumblebee.engine.Module): widget = self.create_widget(widgets, name, attributes={"theme.minwidth": "1000.00MB"}) prev = self._prev.get(name, 0) speed = bumblebee.util.bytefmt((int(data[direction]) - int(prev))/timediff) - widget.full_text(speed) + txtspeed ='{0}/s'.format(speed) + widget.full_text(txtspeed) self._prev[name] = data[direction] # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4