aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/data/uzbl/plugins/bind.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/data/uzbl/plugins/bind.py b/examples/data/uzbl/plugins/bind.py
index 6d08555..0f0d0ce 100644
--- a/examples/data/uzbl/plugins/bind.py
+++ b/examples/data/uzbl/plugins/bind.py
@@ -96,16 +96,16 @@ class Bindlet(object):
if self.after_cmds is None:
return
- (prompt, cmd, set), self.after_cmds = self.after_cmds, None
+ (prompt, is_cmd, set), self.after_cmds = self.after_cmds, None
self.uzbl.clear_keycmd()
if prompt:
self.uzbl.set('keycmd_prompt', prompt)
- if set and cmd:
- self.uzbl.send(cmd)
+ if set and is_cmd:
+ self.uzbl.send(set)
- elif set and not cmd:
+ elif set and not is_cmd:
self.uzbl.send('event SET_KEYCMD %s' % set)