[tor-commits] [nyx/master] Bugfix: Now bandwidth graph is displayed correctly

atagar at torproject.org atagar at torproject.org
Fri Mar 11 17:11:41 UTC 2016


commit 1393a025fe2ccf16eec8d16bcda84638be269cd8
Author: patacca <patacca at autistici.org>
Date:   Thu Mar 10 19:53:23 2016 +0100

    Bugfix: Now bandwidth graph is displayed correctly
---
 nyx/panel/graph.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nyx/panel/graph.py b/nyx/panel/graph.py
index 086d04d..ecf7c1e 100644
--- a/nyx/panel/graph.py
+++ b/nyx/panel/graph.py
@@ -214,7 +214,7 @@ class GraphCategory(object):
 
     pass
 
-  def _header(self, is_primary, width):
+  def _header(self, width, is_primary):
     if is_primary:
       header = CONFIG['attr.graph.header.primary'].get(self.stat_type(), '')
       header_stats = self._primary_header_stats





More information about the tor-commits mailing list