mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Remove temporary html files after their utilisation.
This commit is contained in:
parent
f4450b0091
commit
246753c6d4
1 changed files with 2 additions and 0 deletions
|
|
@ -49,6 +49,8 @@ if __name__ == '__main__':
|
|||
|
||||
os.system('pandoc --from=html --to=rst -o %s %s' % (rst_filename,
|
||||
html_filename))
|
||||
|
||||
os.remove(html_filename)
|
||||
|
||||
with open(rst_filename, 'r', encoding='utf-8') as fs:
|
||||
content = fs.read()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue