From 733dd4d0f6581a02acc6e74a844288f15d595046 Mon Sep 17 00:00:00 2001 From: Ultrabug Date: Mon, 18 Mar 2013 11:49:39 +0100 Subject: clear the user class cache when receiving SIGUSR1 --- py3status/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'py3status') diff --git a/py3status/__init__.py b/py3status/__init__.py index e96cdbe..5324385 100755 --- a/py3status/__init__.py +++ b/py3status/__init__.py @@ -333,6 +333,7 @@ def main(): msg = sys.exc_info()[1] syslog(LOG_INFO, str(msg)) call(["killall", "-s", "USR1", "i3status"]) + USER_CACHE = {} FORCED = True except KeyboardInterrupt: break -- cgit v1.3