From 5b7cd45668b5a29484710604d41ce1463d234d68 Mon Sep 17 00:00:00 2001 From: Ranjhith Kalisamy Date: Sun, 30 Oct 2011 23:04:24 +0530 Subject: [PATCH] The intermediate .html file has to be removed during the import process. --- tools/pelican-import | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/pelican-import b/tools/pelican-import index 084d966e..1590e956 100755 --- a/tools/pelican-import +++ b/tools/pelican-import @@ -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()