summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpy3status/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/py3status/__init__.py b/py3status/__init__.py
index 68d491f..5d36b2e 100755
--- a/py3status/__init__.py
+++ b/py3status/__init__.py
@@ -601,6 +601,10 @@ class Py3statusWrapper():
if self.config['debug']:
syslog(LOG_INFO, 'events thread started')
+ # suppress modules' ouput wrt issue #20
+ sys.stdout = open('/dev/null', 'w')
+ sys.stderr = open('/dev/null', 'w')
+
# load and spawn modules threads
for include_path, f_name in self.list_modules():
try: