send even when there is None

This commit is contained in:
Mylloon 2021-08-23 21:13:13 +02:00
parent aff6dfc5bf
commit 5350d4b4b0

View file

@ -95,7 +95,7 @@ def save(elements):
f.write("\n")
for element in elements:
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")
print(f"{taille} éléments ont étés enrengistés dans le fichier {filename}.")