From fc1b0098e6d129ea9c1cbaa475027fe6cdc02851 Mon Sep 17 00:00:00 2001 From: Nicolas Hennion Date: Sat, 29 Dec 2012 21:02:20 +0100 Subject: [PATCH] Fixed UnboundLocalError / Thk to Geoff --- glances/glances.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glances/glances.py b/glances/glances.py index e81dbbe0..b018a19c 100755 --- a/glances/glances.py +++ b/glances/glances.py @@ -1787,10 +1787,10 @@ class glancesScreen: format(self.__autoUnit(mem['free']), '>5'), 5) # Display extended informations if space is available + y = 0 if screen_x > self.mem_x + offset_x + memblocksize: # active and inactive (only available for psutil >= 0.6) if psutil_mem_vm: - y = 0 # active if 'active' in mem: self.term_window.addnstr(self.mem_y + y, -- GitLab