Skip to content

Commit

Permalink
fix: explicitly encode input file with utf-8 (#45)
Browse files Browse the repository at this point in the history
* fix: explicitly encode input file with utf-8

* Update tap2junit/__main__.py

Co-authored-by: Christian Clauss <cclauss@me.com>

---------

Co-authored-by: Christian Clauss <cclauss@me.com>
  • Loading branch information
MoLow and cclauss authored Mar 13, 2023
1 parent bab0900 commit 3527392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tap2junit/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def main():
arg_parser.add_argument(
"--input",
"-i",
type=argparse.FileType("r"),
type=argparse.FileType("r", encoding="utf-8"),
help="path to tap13 file",
required=True,
)
Expand Down

0 comments on commit 3527392

Please sign in to comment.