summaryrefslogtreecommitdiffstats
path: root/glances/plugins/quicklook/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'glances/plugins/quicklook/__init__.py')
-rw-r--r--glances/plugins/quicklook/__init__.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/glances/plugins/quicklook/__init__.py b/glances/plugins/quicklook/__init__.py
index 5fc46ac2..2d0e8e70 100644
--- a/glances/plugins/quicklook/__init__.py
+++ b/glances/plugins/quicklook/__init__.py
@@ -238,14 +238,10 @@ class PluginModel(GlancesPluginModel):
def _msg_create_line(self, msg, data, key):
"""Create a new line to the Quick view."""
- # if key == 'mem' and self.get_alert(self.stats['swap'], header='swap') != 'DEFAULT':
- # overwrite = 'SWAP'
- # else:
- overwrite = ''
return [
self.curse_add_line(msg),
self.curse_add_line(data.pre_char, decoration='BOLD'),
- self.curse_add_line(data.get(overwrite), self.get_views(key=key, option='decoration')),
+ self.curse_add_line(data.get(), self.get_views(key=key, option='decoration')),
self.curse_add_line(data.post_char, decoration='BOLD'),
self.curse_add_line(' '),
]