fix: utf-8

I got an error when tried to use utf-8 regexes. So, this fixed my case.
This commit is contained in:
Yaroslav Vorobev 2020-01-02 18:02:59 +03:00 committed by GitHub
parent 9e4260fa04
commit 8443bdcb78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -452,7 +452,7 @@ def argparser():
help='Output file - default is STDOUT',
metavar='FILE',
default=stdout,
type=argparse.FileType('w')
type=argparse.FileType('w', encoding='utf-8')
)
argp.add_argument(
'-l', '--limit',