1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

Fix Needles must be a list error for foo_1

Fixes https://github.com/joelthelion/autojump/issues/274
This commit is contained in:
Daniel Hahler 2014-06-23 17:37:07 +02:00
parent c16a816d37
commit 2f26642e7a

View File

@ -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)),