small fix, i really should make some tests

This commit is contained in:
piair338 2022-10-16 11:49:06 +00:00
parent cec5505f3c
commit db5973cf87
1 changed files with 1 additions and 1 deletions

View File

@ -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 :