diff options
author | Eugeni Dodonov <eugeni@mandriva.com> | 2009-09-29 19:36:06 -0300 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.com> | 2009-09-29 19:36:06 -0300 |
commit | 58c9302ed8831f6a765751577531684d3e40d129 (patch) | |
tree | 6f81cdca8151c7470846cfdc2dfd7b5a63d61361 | |
parent | 5d0a7ea19f72b49445f4a7b775cf4635ee2677e2 (diff) | |
download | net_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-x | src/net_monitor | 3 |
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 |