Skip to content

Commit

Permalink
Issue #82: Fix hachoir-grep CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed Nov 27, 2022
1 parent 0649762 commit e41df66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hachoir/grep.py
Expand Up @@ -63,7 +63,7 @@ def parseOptions():
if len(arguments) < 2:
parser.print_help()
sys.exit(1)
pattern = str(arguments[0], "ascii")
pattern = arguments[0]
filenames = arguments[1:]
return values, pattern, filenames

Expand Down

0 comments on commit e41df66

Please sign in to comment.