Commit f629d055 authored by Kai Willadsen's avatar Kai Willadsen

maint: Prepend to NEWS and open for editing

parent affb87bc
......@@ -252,7 +252,15 @@ def cli():
def news():
rendered = render_template(NEWS_TEMPLATE)
with open('NEWS', 'r') as f:
current_news =
new_news = rendered + current_news
with open('NEWS', 'w') as f:
message = click.edit(filename='NEWS')
return message
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment