aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.com>2009-09-29 19:36:06 -0300
committerEugeni Dodonov <eugeni@mandriva.com>2009-09-29 19:36:06 -0300
commit58c9302ed8831f6a765751577531684d3e40d129 (patch)
tree6f81cdca8151c7470846cfdc2dfd7b5a63d61361
parent5d0a7ea19f72b49445f4a7b775cf4635ee2677e2 (diff)
downloadnet_monitor-58c9302ed8831f6a765751577531684d3e40d129.tar
net_monitor-58c9302ed8831f6a765751577531684d3e40d129.tar.gz
net_monitor-58c9302ed8831f6a765751577531684d3e40d129.tar.bz2
net_monitor-58c9302ed8831f6a765751577531684d3e40d129.tar.xz
net_monitor-58c9302ed8831f6a765751577531684d3e40d129.zip
properly drawing graphs
-rwxr-xr-xsrc/net_monitor3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net_monitor b/src/net_monitor
index a54fd94..ba5939b 100755
--- a/src/net_monitor
+++ b/src/net_monitor
@@ -146,7 +146,7 @@ class LoadGraph:
self.__set_context_color(self.__context, color)
x = self.__inner.x + self.__mesh_x
- for i in bw_list[1:]:
+ for i in bw_list[:-1]:
self.__context.line_to(x, i)
x += self.__mesh_x
self.__context.stroke()
@@ -329,7 +329,6 @@ class MonitorGui:
quality = 0
else:
quality = 0
-
else:
essid = None
mode = None