diff options
author | Fbenas <philbeansburton@gmail.com> | 2020-11-08 13:37:31 +0000 |
---|---|---|
committer | Fbenas <philbeansburton@gmail.com> | 2020-11-08 13:37:31 +0000 |
commit | 82f9ed3048e62452caa5afdb957cc1b7f950f5ab (patch) | |
tree | 8755f7d10439119fa1df80c3e1c5f4431e14a6f0 | |
parent | 1f78fbb8eb651472cd9056e9ec17282026fba4fc (diff) |
-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 ) |