1
0
Fork 0
forked from github/pelican

Remove temporary html files after their utilisation.

This commit is contained in:
FELD Boris 2011-01-24 23:59:15 +01:00
commit 246753c6d4

View file

@ -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()