Close file
This commit is contained in:
parent
f807842a52
commit
1488f59d8f
@ -147,6 +147,7 @@ class AsciiDoc:
|
||||
last_line = line
|
||||
|
||||
current_lines = outfp.getvalue()
|
||||
outfp.close()
|
||||
|
||||
with open(modified_src, "w+") as final_version:
|
||||
final_version.write(title + "\n\n" + header + current_lines)
|
||||
|
Loading…
Reference in New Issue
Block a user