diff options
author | Piotr Miller <nwg.piotr@gmail.com> | 2020-04-08 21:47:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-08 21:47:36 +0200 |
commit | b17c0c1b6713fb7c42f1bb1707270ab4291160c6 (patch) | |
tree | c39ee09be0c2d0fa7b98223c607f6212675293fa | |
parent | 798b9f4bf9bfd0f9a8912ac86de1c1243a216962 (diff) | |
parent | 01da9a9f5856ef01dff523c72f880d85f523d1ae (diff) | |
download | autotiling-b17c0c1b6713fb7c42f1bb1707270ab4291160c6.tar.gz |
Merge pull request #6 from Mayt38/remove-debug-error
bug in debugging fixed :D
-rwxr-xr-x | autotiling.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autotiling.py b/autotiling.py index 131e447..4913e9c 100755 --- a/autotiling.py +++ b/autotiling.py @@ -44,7 +44,7 @@ def switch_splitting(i3, e, debug): result = i3.command(new_layout) if result[0].success and debug: print('Debug: Switched to {}'.format(new_layout), file=sys.stderr) - else: + elif debug: print('Error: Switch failed with err {}'.format(result[0].error), file=sys.stderr) elif debug: |