minor comment change

pull/241/head
William Ting 11 years ago
parent 2a53341feb
commit 4aafd023c3

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

Loading…
Cancel
Save