Skip to content

Commit

Permalink
Merge pull request #114 from ytomino/main
Browse files Browse the repository at this point in the history
  • Loading branch information
nabobalis authored Oct 13, 2021
2 parents add0fe2 + 7c16427 commit 3db4456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ablog/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def ablog_post(filename, title=None, **kwargs):
# read the file, and add post directive
# and save it
with open(filename, "w", encoding="utf-8") as out:
post_text = POST_TEMPLATE.format(pars)
post_text = POST_TEMPLATE.format(**pars)
out.write(post_text)

print(f"Blog post created: {filename}")
Expand Down

0 comments on commit 3db4456

Please sign in to comment.