diff options
author | keis <keijser@gmail.com> | 2011-03-14 19:55:17 +0100 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2011-04-18 20:23:43 -0600 |
commit | 16f10abea2c634b462ba7157e63383b076b75bcc (patch) | |
tree | 163fadf803e9f5f9f34c544e7c4d153f19d8b7a2 /examples/data | |
parent | 06c8a781c660b573ac64eb40cace7aa81add3312 (diff) |
handle the case of no modkeys held
Diffstat (limited to 'examples/data')
-rw-r--r-- | examples/data/plugins/keycmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/data/plugins/keycmd.py b/examples/data/plugins/keycmd.py index 5e3776f..952fbac 100644 --- a/examples/data/plugins/keycmd.py +++ b/examples/data/plugins/keycmd.py @@ -218,7 +218,7 @@ def parse_key_event(uzbl, key): keylet = uzbl.keylet modstate, key = splitquoted(key) - modstate = set(['<%s>' % keylet.modmap_key(k) for k in modstate.split('|')]) + modstate = set(['<%s>' % keylet.modmap_key(k) for k in modstate.split('|') if k]) key = keylet.modmap_key(key) return modstate, key |