IRQ plugin is not display anymore #1013

pull/1039/merge
nicolargo 2017-01-29 17:23:45 +01:00
parent 12b75d44d9
commit f35c8bf256
1 changed files with 2 additions and 1 deletions

View File

@ -716,7 +716,8 @@ class _GlancesCurses(object):
if not self.args.disable_left_sidebar:
for s in ['network', 'wifi', 'ports', 'diskio', 'fs', 'irq',
'folders', 'raid', 'sensors', 'now']:
if hasattr(self.args, 'disable_' + s) and s in stat_display:
if (hasattr(self.args, 'enable_' + s) or
hasattr(self.args, 'disable_' + s)) and s in stat_display:
self.new_line()
self.display_plugin(stat_display[s])