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

minor comment change

This commit is contained in:
William Ting 2013-12-18 16:12:53 -06:00
parent 2a53341feb
commit 4aafd023c3

View File

@ -342,7 +342,7 @@ def main():
elif args.stat: elif args.stat:
print_stats(load(config), config['data_path']) print_stats(load(config), config['data_path'])
else: else:
# default behavior, no optional arguments # no optional arguments
entries = entriefy(load(config)) entries = entriefy(load(config))
needles = sanitize(args.directory) needles = sanitize(args.directory)
needle = first(needles) needle = first(needles)
@ -365,6 +365,7 @@ def main():
find_matches(entriefy(load(config)), needle)) find_matches(entriefy(load(config)), needle))
print_tab_menu(needle, tab_entries, TAB_SEPARATOR) print_tab_menu(needle, tab_entries, TAB_SEPARATOR)
else: else:
# default behavior
try: try:
print(encode_local(surround_quotes( print(encode_local(surround_quotes(
first(find_matches(entries, needles)).path))) first(find_matches(entries, needles)).path)))