Skip to content

Commit

Permalink
chore: update ci scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
YiniXu9506 committed Sep 9, 2021
1 parent b8d3b32 commit 6aeaf63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check-file-encoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def check_BOM(filename):
BUFSIZE = 4096
BOMLEN = len(codecs.BOM_UTF8)

with open(filename, "r+b", encoding='utf-8') as fp:
with open(filename, "r+b") as fp:
chunk = fp.read(BUFSIZE)
if chunk.startswith(codecs.BOM_UTF8):
i = 0
Expand Down

0 comments on commit 6aeaf63

Please sign in to comment.