From 2f26642e7a494a7c7cdcf602bfdc246a38d84373 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Mon, 23 Jun 2014 17:37:07 +0200 Subject: [PATCH] Fix `Needles must be a list error` for `foo_1` Fixes https://github.com/joelthelion/autojump/issues/274 --- 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)),