summaryrefslogtreecommitdiff
path: root/.i3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x.i3/scripts/workspaces.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/.i3/scripts/workspaces.py b/.i3/scripts/workspaces.py
index 752205a..83cc7ef 100755
--- a/.i3/scripts/workspaces.py
+++ b/.i3/scripts/workspaces.py
@@ -32,7 +32,7 @@ def new_ws(cmd, args):
try:
exe = args[args.index("--exec")+1]
- except IndexError, ValueError:
+ except (IndexError, ValueError):
exe = None
for i,n in enumerate(sorted(nums)):