summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpy3status/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/py3status/__init__.py b/py3status/__init__.py
index c90463f..df0cf4a 100755
--- a/py3status/__init__.py
+++ b/py3status/__init__.py
@@ -415,7 +415,8 @@ class I3status(Thread):
for method in py3_modules[module].methods.values():
ordered.append(method['last_output'])
else:
- ordered.append(self.config[module]['response'])
+ if self.config.get(module, {}).get('response'):
+ ordered.append(self.config[module]['response'])
return ordered
@staticmethod