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

Loading…
Cancel
Save