From 1f3581bceac485beb6d3fdfc94e768ad5691b5c3 Mon Sep 17 00:00:00 2001 From: limbe-osc Date: Sun, 7 Aug 2016 19:16:44 +0800 Subject: [PATCH] bug fix --- i3pystatus/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3pystatus/network.py b/i3pystatus/network.py index 5d7a8f4..92a5baa 100644 --- a/i3pystatus/network.py +++ b/i3pystatus/network.py @@ -396,7 +396,7 @@ class Network(IntervalModule, ColorRangeModule): c_recv = self.get_gradient(int(per_recv * 100), self.colors, 100) c_sent = self.get_gradient(int(per_sent * 100), self.colors, 100) format_values["bytes_recv"] = color_template.format(c_recv, network_usage["bytes_recv"]) - format_values["bytes_recv"] = color_template.format(c_sent, network_usage["bytes_sent"]) + format_values["bytes_sent"] = color_template.format(c_sent, network_usage["bytes_sent"]) if self.graph_type == 'output': c_kbs = c_sent else: