From 931dd7496af6b3e6ad1d129335a7806ee245b14d Mon Sep 17 00:00:00 2001 From: Christer Sjöholm Date: Sun, 20 Mar 2011 11:37:57 +0100 Subject: Fixes NEXT_TAB and PREV_TAB in uzbl-tabbed. The detection of an argument was incorrect. --- examples/data/scripts/uzbl-tabbed | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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() -- cgit v1.2.3