aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/monitor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/monitor.py b/src/monitor.py
index ac625e6..21420ad 100644
--- a/src/monitor.py
+++ b/src/monitor.py
@@ -246,9 +246,9 @@ class Monitor:
return net
def has_network_accounting(self, iface):
- """Checks if network accounting was enabled on interface"""
+ """Checks if network accounting was enabled"""
try:
- os.stat("/var/lib/vnstat/%s" % iface)
+ os.stat("/var/lib/vnstat/vnstat.db")
return True
except:
return False