Skip to content

Commit

Permalink
Specify encoding explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
insolor committed Jul 23, 2024
1 parent b1b2675 commit 66f2597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci-scripts/no_pot_creation_date.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

data = pot_path.read_text("utf-8").splitlines(keepends=True)

with pot_path.open("w") as pot_file:
with pot_path.open("w", encoding="utf-8") as pot_file:
for line in data:
if line.startswith('"POT-Creation-Date:'):
continue
Expand Down

0 comments on commit 66f2597

Please sign in to comment.