mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
The intermediate .html file has to be removed during the import process.
This commit is contained in:
parent
3192cf6e37
commit
5b7cd45668
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