Skip to content

Commit

Permalink
toml requires files opened in binary mode
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl authored and inducer committed Jun 27, 2024
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
Expand Up @@ -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))
Expand Down

0 comments on commit e2eee71

Please sign in to comment.