removed non alpha words from dict
This commit is contained in:
@@ -76,7 +76,7 @@ var Words []string = []string{"""
|
|||||||
with open("/usr/share/dict/words", "r") as f:
|
with open("/usr/share/dict/words", "r") as f:
|
||||||
for l in f.readlines():
|
for l in f.readlines():
|
||||||
if not l.isalpha():
|
if not l.isalpha():
|
||||||
break
|
continue
|
||||||
lines.append(f'\t"{l.strip()}",')
|
lines.append(f'\t"{l.strip()}",')
|
||||||
|
|
||||||
lines.append("}")
|
lines.append("}")
|
||||||
|
|||||||
Reference in New Issue
Block a user