From a3c7e6a94de9e4ad5b77148f4783b78b1689e182 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sat, 8 Feb 2025 17:44:50 +0100 Subject: [PATCH] Sistemazione riga invio downloadfailure.log. --- src/loaih/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loaih/build.py b/src/loaih/build.py index ee9d45a..c3d064e 100644 --- a/src/loaih/build.py +++ b/src/loaih/build.py @@ -471,7 +471,7 @@ class Build(): # On the contrary, we will dump a logfile, remove the download and # redo the download. with open(os.path.join(self.download_path, 'downloadfailure.log'), 'a') as logfile: - logfile.write(f"{timenow.isoformat()};{resource.url};{mimetype}") + logfile.write(f"{timenow.isoformat()};{resource.url};{mimetype}\n") os.unlink(testedfilename) break_control += 1