Because the logfile handle is opened everytime before writing a message, we should also close it after writing a line

This commit is contained in:
Maarten Boersma 2026-06-24 10:06:20 +02:00
parent d309a25c4c
commit d0fb2149d9
No known key found for this signature in database
GPG Key ID: 8C9CA0C6BE05CB08
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ def log(str):
compile_log.write(line)
log.setup_output = []
compile_log.write(str + '\n')
compile_log.close()
else:
log.setup_output.append(str + "\n")