Skip to content

Commit 5e8294d

Browse files
authored
Update check_spell.py
1 parent 8a35070 commit 5e8294d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/check_spell.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@
2222
# Write merged dictionary file
2323
output_filename = tempfile.mktemp(suffix="_merged_dict.txt")
2424
with open(output_filename, "w") as f:
25-
for e in entries:
26-
f.write(e)
27-
f.write("\n")
25+
f.writelines(entries)
2826

2927
# Run pospell either against all files or the file given on the command line
3028
po_files = sys.argv[1:]

0 commit comments

Comments
 (0)