summaryrefslogtreecommitdiffstats
path: root/glances
diff options
context:
space:
mode:
authorH4ckerxx44 <dennis.wortmann1999@gmail.com>2021-11-13 17:48:41 +0100
committerH4ckerxx44 <dennis.wortmann1999@gmail.com>2021-11-13 17:48:41 +0100
commitb911a0adcccc51e67a8818d827c070f46e9dfe34 (patch)
tree1e7849623dbb4214eeb7369df0a29f889c3aa5d6 /glances
parent760c26fb6e9733f271fac860b3b5811381fe4e87 (diff)
small oversights
Diffstat (limited to 'glances')
-rw-r--r--glances/stats.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/glances/stats.py b/glances/stats.py
index e2d0b724..ebab034a 100644
--- a/glances/stats.py
+++ b/glances/stats.py
@@ -194,7 +194,7 @@ class GlancesStats(object):
Return: list of plugin name
"""
if enable:
- return [p for p in self._plugins if self._plugins[p].is_enable()]
+ return [p for p in self._plugins if self._plugins[p].is_enabled()]
else:
return [p for p in self._plugins]
@@ -222,7 +222,7 @@ class GlancesStats(object):
# For standalone and server modes
# For each plugins, call the update method
for p in self._plugins:
- if self._plugins[p].is_disable():
+ if self._plugins[p].is_disabled():
# If current plugin is disable
# then continue to next plugin
continue