From b64ddd7bce761b53839f981949fce6fd6daa855c Mon Sep 17 00:00:00 2001 From: Mason Larobina Date: Sat, 12 Dec 2009 17:57:56 +0800 Subject: Unbreak stack binds. --- examples/data/uzbl/plugins/bind.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples') 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) -- cgit v1.2.3