diff options
| author | Ultrabug <ultrabug@gentoo.org> | 2013-03-18 11:49:39 +0100 |
|---|---|---|
| committer | Ultrabug <ultrabug@gentoo.org> | 2013-03-18 11:49:39 +0100 |
| commit | 733dd4d0f6581a02acc6e74a844288f15d595046 (patch) | |
| tree | 90982b8bf57c4ff1cea2a2a34d5bfe06d11bcd73 /py3status | |
| parent | 810967cb94880856e06f96c29e57726342d308a5 (diff) | |
clear the user class cache when receiving SIGUSR1
Diffstat (limited to 'py3status')
| -rwxr-xr-x | py3status/__init__.py | 1 |
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 |
