small oversights

pull/1949/head
H4ckerxx44 2021-11-13 17:48:41 +01:00
parent 760c26fb6e
commit b911a0adcc
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 210 KiB

After

Width:  |  Height:  |  Size: 210 KiB

View File

@ -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