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:
@@ -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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user