mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-27 19:04:50 +03:00
small oversights
This commit is contained in:
parent
760c26fb6e
commit
b911a0adcc
2
docs/_static/glances-flame.svg
vendored
2
docs/_static/glances-flame.svg
vendored
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 210 KiB After Width: | Height: | Size: 210 KiB |
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user