mirror of https://github.com/VLSIDA/OpenRAM.git
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:
parent
d309a25c4c
commit
d0fb2149d9
|
|
@ -90,6 +90,7 @@ def log(str):
|
||||||
compile_log.write(line)
|
compile_log.write(line)
|
||||||
log.setup_output = []
|
log.setup_output = []
|
||||||
compile_log.write(str + '\n')
|
compile_log.write(str + '\n')
|
||||||
|
compile_log.close()
|
||||||
else:
|
else:
|
||||||
log.setup_output.append(str + "\n")
|
log.setup_output.append(str + "\n")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue