Sistemazione riga invio downloadfailure.log.
This commit is contained in:
parent
1c38d688d5
commit
a3c7e6a94d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue