aboutsummaryrefslogtreecommitdiffstats
path: root/src/monitor.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/monitor.py')
-rw-r--r--src/monitor.py2
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)