summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpy3status/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/py3status/__init__.py b/py3status/__init__.py
index bd8072a..68d491f 100755
--- a/py3status/__init__.py
+++ b/py3status/__init__.py
@@ -34,8 +34,8 @@ def print_line(line):
"""
Print given line to stdout (i3bar).
"""
- sys.stdout.write('{}\n'.format(line))
- sys.stdout.flush()
+ sys.__stdout__.write('{}\n'.format(line))
+ sys.__stdout__.flush()
class IOPoller: