From debf6e608653a46aeec2d502150da063ad9bdc4d Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Wed, 9 Apr 2014 13:02:45 +0100 Subject: [PATCH] Fix needle-must-be-a-list crash. --- bin/autojump | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/autojump b/bin/autojump index 6c3dd26..01f8654 100755 --- a/bin/autojump +++ b/bin/autojump @@ -397,7 +397,7 @@ def main(args): # noqa print_local( get_ith_path( tab_index, - find_matches(entries, tab_needle))) + find_matches(entries, [tab_needle]))) else: print_local(first(chain( imap(attrgetter('path'), find_matches(entries, needles)),