|
|
@ -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"]}')
|
|
|
|