Sistemazione riga invio downloadfailure.log.

This commit is contained in:
emiliano.vavassori 2025-02-08 17:44:50 +01:00
parent 1c38d688d5
commit a3c7e6a94d
1 changed files with 1 additions and 1 deletions

View File

@ -471,7 +471,7 @@ class Build():
# On the contrary, we will dump a logfile, remove the download and # On the contrary, we will dump a logfile, remove the download and
# redo the download. # redo the download.
with open(os.path.join(self.download_path, 'downloadfailure.log'), 'a') as logfile: 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) os.unlink(testedfilename)
break_control += 1 break_control += 1