Skip to content

Commit

Permalink
toml requires files opened in binary mode
Browse files Browse the repository at this point in the history
alexfikl authored and inducer committed Jun 27, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 12118e4 commit e2eee71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci-support.sh
Original file line number Diff line number Diff line change
@@ -130,7 +130,7 @@ def main():
parser.print_usage()
sys.exit(1)
with open(args.filename, encoding="utf-8") as toml:
with open(args.filename, "rb") as toml:
data = tomllib.load(toml)
sys.exit(args.func(data, args))

0 comments on commit e2eee71

Please sign in to comment.