1
0
mirror of https://github.com/minimaxir/big-list-of-naughty-strings.git synced 2025-09-25 13:19:15 +02:00

Fix comment [ci skip]

This commit is contained in:
Juanito Fatas
2015-08-11 23:42:19 +08:00
parent 6b3a0a3489
commit 18c98526a6

View File

@@ -6,7 +6,7 @@ import json
with open('../blns.txt', 'r') as f: with open('../blns.txt', 'r') as f:
# put all lines in the file into a Python list # put all lines in the file into a Python list
content = f.readlines() content = f.readlines()
# above line leaves trailing newline characters; strip them out # above line leaves trailing newline characters; strip them out
@@ -22,4 +22,4 @@ with open('../blns.json', 'wb') as f:
# write JSON to file; note the ensure_ascii parameter # write JSON to file; note the ensure_ascii parameter
json.dump(content, f, indent=2, ensure_ascii=False) json.dump(content, f, indent=2, ensure_ascii=False)