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

Fixes missing path getter introduced in bc91905a.

Closes #270.
This commit is contained in:
William Ting 2014-03-26 12:15:37 -05:00
parent bc91905a29
commit 6360876933

View File

@ -399,10 +399,8 @@ def main(args): # noqa
tab_index, tab_index,
find_matches(entries, tab_needle))) find_matches(entries, tab_needle)))
else: else:
print_local( print_local(first(chain(
first( imap(attrgetter('path'), find_matches(entries, needles)),
chain(
find_matches(entries, needles),
# always return a path to calling shell functions # always return a path to calling shell functions
['.']))) ['.'])))