summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2013-03-18 11:49:39 +0100
committerUltrabug <ultrabug@gentoo.org>2013-03-18 11:49:39 +0100
commit733dd4d0f6581a02acc6e74a844288f15d595046 (patch)
tree90982b8bf57c4ff1cea2a2a34d5bfe06d11bcd73
parent810967cb94880856e06f96c29e57726342d308a5 (diff)
clear the user class cache when receiving SIGUSR1
-rwxr-xr-xpy3status/__init__.py1
1 files changed, 1 insertions, 0 deletions
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