From 5350d4b4b0c903f52d5b9dad76c1a10edbb345b6 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 23 Aug 2021 21:13:13 +0200 Subject: [PATCH] send even when there is None --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 7b31269..23d326c 100644 --- a/main.py +++ b/main.py @@ -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}.")