diff options
| author | Ultrabug <ultrabug@gentoo.org> | 2013-12-09 10:11:42 +0100 |
|---|---|---|
| committer | Ultrabug <ultrabug@gentoo.org> | 2013-12-09 10:11:42 +0100 |
| commit | d76358ef2cc6e645f6be94c136369b7f27366ff7 (patch) | |
| tree | 59d7df1bc86e2e43205844d6cf06afdcf5e0c8c7 /py3status | |
| parent | eb48bbb38953ea82b9ddf0d553fadd3114e978bb (diff) | |
use base stdout for the output on i3bar
Diffstat (limited to 'py3status')
| -rwxr-xr-x | py3status/__init__.py | 4 |
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: |
