mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #183 from ranjhith/master
Remove intermediate .html file generated during import
This commit is contained in:
commit
aee3f661f4
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ def fields2pelican(fields, out_markup, output_path, dircat=False):
|
|||
|
||||
os.system('pandoc --normalize --reference-links --from=html --to=%s -o "%s" "%s"' % (out_markup, out_filename, html_filename))
|
||||
|
||||
#os.remove(html_filename)
|
||||
os.remove(html_filename)
|
||||
|
||||
with open(out_filename, 'r', encoding='utf-8') as fs:
|
||||
content = fs.read()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue