send even when there is None
This commit is contained in:
parent
aff6dfc5bf
commit
5350d4b4b0
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -95,7 +95,7 @@ def save(elements):
|
||||||
f.write("\n")
|
f.write("\n")
|
||||||
for element in elements:
|
for element in elements:
|
||||||
if element != "linkParams":
|
if element != "linkParams":
|
||||||
f.write(";".join(list(element.values())[:-1]))
|
f.write(";".join(str(e) for e in list(element.values())[:-1]))
|
||||||
f.write("\n")
|
f.write("\n")
|
||||||
print(f"{taille} éléments ont étés enrengistés dans le fichier {filename}.")
|
print(f"{taille} éléments ont étés enrengistés dans le fichier {filename}.")
|
||||||
|
|
||||||
|
|
Reference in a new issue