1
0
mirror of https://github.com/minimaxir/big-list-of-naughty-strings.git synced 2025-09-24 21:01:32 +02:00

Merge pull request #22 from JuanitoFatas/patch-1

Fix comment [ci skip]
This commit is contained in:
Max Woolf
2015-08-11 09:28:19 -07:00

View File

@@ -6,7 +6,7 @@ import json
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()
# 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
json.dump(content, f, indent=2, ensure_ascii=False)