small fix, i really should make some tests
This commit is contained in:
parent
cec5505f3c
commit
db5973cf87
2
main.py
2
main.py
|
@ -86,7 +86,7 @@ def edit_config_txt(ligne, contenu):
|
||||||
for i in range(len(txt)) :
|
for i in range(len(txt)) :
|
||||||
name = txt[i].split(" = ")[0]
|
name = txt[i].split(" = ")[0]
|
||||||
if name == ligne:
|
if name == ligne:
|
||||||
txt[i] = name + " = " + contenu
|
txt[i] = name + " = " + str(contenu)
|
||||||
|
|
||||||
f = open(config_path, "w")
|
f = open(config_path, "w")
|
||||||
for i in txt :
|
for i in txt :
|
||||||
|
|
Loading…
Reference in New Issue