diff options
| author | Ultrabug <ultrabug@ultrabug.net> | 2013-04-29 08:01:39 -0700 |
|---|---|---|
| committer | Ultrabug <ultrabug@ultrabug.net> | 2013-04-29 08:01:39 -0700 |
| commit | 8808479e3cdd4b4a79dd3ac0d5a379361b7b8cb6 (patch) | |
| tree | 6bd542dbfcc2516d98d462710176c026c10c667e | |
| parent | a5ec28641e7b3eee7f4ea5a39fb9e3a30c086c79 (diff) | |
| parent | c9cbccb27b9fd3d1e8e56b7adcc22325dbdac76b (diff) | |
Merge pull request #8 from edk141/pr-1
fix issue #8 with UserModules.clear() thanks to edk141
| -rwxr-xr-x | py3status/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/py3status/__init__.py b/py3status/__init__.py index d54dedf..c683c76 100755 --- a/py3status/__init__.py +++ b/py3status/__init__.py @@ -355,7 +355,8 @@ class UserModules(Thread): """ clear user cache """ - self.cache = {} + for k in self.cache.keys(): + self.cache[k] = {} def run(self): """ |
