Commit b83f06b9 authored by rgaudin's avatar rgaudin
Browse files

Fixed #261: PermissionError on Windows

log and continue as this only concerns branding files written into temp folder.
parent da4ba25d
......@@ -202,7 +202,10 @@ def run_phase_one(machine, extra_vars, secret_keys, logo=None, favicon=None, css
encoding="utf-8",
)
machine.put_file(fd.name, catalog["local_url"].replace("file://", ""))
os.unlink(fd.name)
try:
os.unlink(fd.name)
except Exception as exp:
machine._logger.err(str(exp))
run(machine, tags, extra_vars, secret_keys)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment