diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-03-14 22:55:38 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-03-14 22:55:38 +0100 |
commit | 9c809959f01a4f3c7315d886d2ee2ea9ead4fbca (patch) | |
tree | a5c4ad25e5483f7cb9e9a8241f00f4b58301152c | |
parent | derp (diff) | |
download | blueshift-9c809959f01a4f3c7315d886d2ee2ea9ead4fbca.tar.gz blueshift-9c809959f01a4f3c7315d886d2ee2ea9ead4fbca.tar.bz2 blueshift-9c809959f01a4f3c7315d886d2ee2ea9ead4fbca.tar.xz |
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | examples/xmonad | 2 |
1 files changed, 1 insertions, 1 deletions
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 = '' |