From dff187252a44a6d44cbae4a26e3aec26ef51f800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thayn=C3=A3=20Moretti?= Date: Sat, 29 Aug 2020 21:09:59 -0300 Subject: [PATCH] Fix RECV/SENT start values --- bumblebee_status/modules/contrib/network_traffic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bumblebee_status/modules/contrib/network_traffic.py b/bumblebee_status/modules/contrib/network_traffic.py index bd1a9b6..f9c8c98 100644 --- a/bumblebee_status/modules/contrib/network_traffic.py +++ b/bumblebee_status/modules/contrib/network_traffic.py @@ -38,8 +38,8 @@ class Module(core.module.Module): try: self._bandwidth = BandwidthInfo() - self._rate_recv = "?" - self._rate_sent = "?" + self._rate_recv = 0 + self._rate_sent = 0 self._bytes_recv = self._bandwidth.bytes_recv() self._bytes_sent = self._bandwidth.bytes_sent() except Exception: