enable default linux worldlist support
This commit is contained in:
parent
df0ea09662
commit
4e4461f7f8
6
V4.py
6
V4.py
|
@ -90,7 +90,11 @@ sql_host = config["SQL"]["host"]
|
||||||
sql_database = config["SQL"]["database"]
|
sql_database = config["SQL"]["database"]
|
||||||
|
|
||||||
g = open(MotPath, "r", encoding="utf-8")
|
g = open(MotPath, "r", encoding="utf-8")
|
||||||
Liste_de_mot = list(g.readline().split(","))
|
lines = g.readlines()
|
||||||
|
if len(lines) < 3 :
|
||||||
|
Liste_de_mot = list(lines[0].split(","))
|
||||||
|
else :
|
||||||
|
Liste_de_mot = [x.replace('\n', "") for x in lines]
|
||||||
g.close()
|
g.close()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue