diff options
author | Eugeni Dodonov <eugeni@mandriva.com> | 2011-01-16 15:15:57 -0200 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.com> | 2011-01-16 15:15:57 -0200 |
commit | fcadf92c88199fdd1ebec0e5762fb14407938dc9 (patch) | |
tree | d0845d8c523cda8aa9321b92ed6cf596b57c3d82 /src/monitor.py | |
parent | f11fdceb0d5713d0b6e00257f1431a0d20bb1f41 (diff) | |
download | net_monitor-fcadf92c88199fdd1ebec0e5762fb14407938dc9.tar net_monitor-fcadf92c88199fdd1ebec0e5762fb14407938dc9.tar.gz net_monitor-fcadf92c88199fdd1ebec0e5762fb14407938dc9.tar.bz2 net_monitor-fcadf92c88199fdd1ebec0e5762fb14407938dc9.tar.xz net_monitor-fcadf92c88199fdd1ebec0e5762fb14407938dc9.zip |
improved check for network accounting
Diffstat (limited to 'src/monitor.py')
-rw-r--r-- | src/monitor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monitor.py b/src/monitor.py index 53bfdd0..bc9c323 100644 --- a/src/monitor.py +++ b/src/monitor.py @@ -213,7 +213,7 @@ class Monitor: traceback.print_exc() return net - def check_network_accounting(self, iface): + def has_network_accounting(self, iface): """Checks if network accounting was enabled on interface""" try: os.stat("/var/lib/vnstat/%s" % iface) |