diff options
author | Mason Larobina <mason.larobina@gmail.com> | 2009-09-22 17:17:26 +0800 |
---|---|---|
committer | Mason Larobina <mason.larobina@gmail.com> | 2009-09-22 17:17:26 +0800 |
commit | 12a23eb6a95ddb65173d547f5ee74da979a51f38 (patch) | |
tree | 8d1722ef8fb33d7f665bfa2d0745bc3a7e42e07e /examples/data/uzbl/scripts | |
parent | 28315daa6ba4096a6a4965ea9f0a706ee521e360 (diff) |
Make sure event name is capitalised.
Diffstat (limited to 'examples/data/uzbl/scripts')
-rw-r--r-- | examples/data/uzbl/scripts/plugins/on_event.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/data/uzbl/scripts/plugins/on_event.py b/examples/data/uzbl/scripts/plugins/on_event.py index dc81fcc..33039cb 100644 --- a/examples/data/uzbl/scripts/plugins/on_event.py +++ b/examples/data/uzbl/scripts/plugins/on_event.py @@ -81,6 +81,7 @@ def event_handler(uzbl, *args, **kargs): def on_event(uzbl, event, cmd): '''Add a new event to watch and respond to.''' + event = event.upper() events = get_on_events(uzbl) if event not in events: uzbl.connect(event, event_handler, on_event=event) |