diff options
author | Christer Sjöholm <hcs@furuvik.net> | 2011-03-20 11:37:57 +0100 |
---|---|---|
committer | Christer Sjöholm <hcs@furuvik.net> | 2011-03-20 11:37:57 +0100 |
commit | 931dd7496af6b3e6ad1d129335a7806ee245b14d (patch) | |
tree | 3b92b6cf47730628a74aae30ae5fee6afa565fcf | |
parent | 0c76d87b6006194ead35c8fb5cf1986fb0367e19 (diff) |
Fixes NEXT_TAB and PREV_TAB in uzbl-tabbed.
The detection of an argument was incorrect.
-rwxr-xr-x | examples/data/scripts/uzbl-tabbed | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/data/scripts/uzbl-tabbed b/examples/data/scripts/uzbl-tabbed index 4039096..0502951 100755 --- a/examples/data/scripts/uzbl-tabbed +++ b/examples/data/scripts/uzbl-tabbed @@ -510,12 +510,12 @@ class UzblInstance: self.parent.new_tab(args[0], '', 0, next=True) elif type == "NEXT_TAB": - if args[0]: + if args: self.parent.next_tab(int(args[0])) else: self.parent.next_tab() elif type == "PREV_TAB": - if args[0]: + if args: self.parent.prev_tab(int(args[0])) else: self.parent.prev_tab() |