append the article content after the header

This commit is contained in:
Andreas Zweili 2020-10-13 21:18:22 +02:00
parent ceb449e477
commit de3c6eb44f
1 changed files with 1 additions and 0 deletions

View File

@ -7,4 +7,5 @@ def write_to_file(article, header):
f.write(header)
f.write('------')
f.write('\n')
with open(str(article.title) + ".md", 'a') as f:
f.write(markdown)