From 9c809959f01a4f3c7315d886d2ee2ea9ead4fbca Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 14 Mar 2014 22:55:38 +0100 Subject: derp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- examples/xmonad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/xmonad b/examples/xmonad index 212b611..061d241 100644 --- a/examples/xmonad +++ b/examples/xmonad @@ -113,7 +113,7 @@ def get_workspaces(): if c in ']>': if c == ']': rat = len(visible) - visible.append(int(buf.split('-')[0])) + visible.append(int(buf[:-1].split('-')[0])) buf = None elif c in '[<': buf = '' -- cgit v1.2.3-70-g09d2