diff options
-rwxr-xr-x | saucypy | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -58,10 +58,10 @@ def main(): if len( matches ) > 1: exact_match = list(filter( lambda x: x == args[0], matches)) if exact_match: - print (entries[exact_match[0]].encode("utf-8")) + print (entries[exact_match[0]]) elif options.index is not None: try: - print (entries[matches[options.index]].encode("utf-8")) + print (entries[matches[options.index]]) except IndexError: print ("Match index out of range.") sys.exit( 1 ) |