diff options
Diffstat (limited to 'autotiling.py')
-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: |