diff options
author | Jason Nader <jason.nader@protonmail.com> | 2020-03-20 21:39:34 +0900 |
---|---|---|
committer | Jason Nader <jason.nader@protonmail.com> | 2020-03-20 21:39:34 +0900 |
commit | 3d83a5fd94c8ff3f6e8ba65e01955264f4a50618 (patch) | |
tree | 1cc91e2b4aed407d5abbe881a1d90b5b71e37dda | |
parent | a8cfe1528137c2a8b3c3463578eb235e6794b70f (diff) | |
download | autotiling-3d83a5fd94c8ff3f6e8ba65e01955264f4a50618.tar.gz |
Print errors to stdout instead of stdout
-rwxr-xr-x | autotiling.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/autotiling.py b/autotiling.py index 6aa9652..e430d32 100755 --- a/autotiling.py +++ b/autotiling.py @@ -15,6 +15,7 @@ License: GPL3 Dependencies: python-i3ipc>=2.0.1 (i3ipc-python) """ +import sys from i3ipc import Connection, Event @@ -41,7 +42,7 @@ def switch_splitting(i3, e): i3.command(new_layout) except Exception as e: - print('Error: {}'.format(e)) + print('Error: {}'.format(e), file=sys.stderr) pass |