fix: `N` key (un)freezing time instead show/hide

pull/2023/head
RazCrimson 2022-03-27 02:09:35 +05:30
parent 021ac4cea9
commit 99da85906b
1 changed files with 3 additions and 0 deletions

View File

@ -69,6 +69,9 @@ class Plugin(GlancesPlugin):
# Init the return message
ret = []
if not self.stats or self.is_disabled():
return ret
# Build the string message
# 23 is the padding for the process list
msg = '{:23}'.format(self.stats)