another test with the text

master
km0 3 years ago
parent 6ecd0c8cc6
commit 69f256daa5

@ -92,7 +92,7 @@ def update_wiki(recipe):
steps+= f'# {log}\n'
# PROV TEMPLATE
content = f"""\
content = f"""
=== {recipe['title']} ===
''{recipe['description']}''
<br>
@ -106,7 +106,6 @@ def update_wiki(recipe):
'''Who'''
<br>
{recipe['who']}
<br>
"""
text += textwrap.dedent(content)
page.edit(text, f'Added a new recipe! {recipe["title"]}')

Loading…
Cancel
Save