mirror of
https://github.com/SinTan1729/recipe-box-for-wikijs.git
synced 2024-12-26 10:08:37 -06:00
new: Add unit to total time
This commit is contained in:
parent
cb054e2b5f
commit
79b71747a5
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ def process_recipe(config, scraper, url, verbose=False):
|
||||||
recipe.write('\n')
|
recipe.write('\n')
|
||||||
recipe.write('## Information\n')
|
recipe.write('## Information\n')
|
||||||
recipe.write('Yields: {yields}\n'.format(yields=scraper.yields()))
|
recipe.write('Yields: {yields}\n'.format(yields=scraper.yields()))
|
||||||
recipe.write('Total Time: {total_time}\n'.format(total_time=scraper.total_time()))
|
recipe.write('Total Time: {total_time} minutes\n'.format(total_time=scraper.total_time()))
|
||||||
recipe.write('\n')
|
recipe.write('\n')
|
||||||
recipe.write('## Ingredients\n')
|
recipe.write('## Ingredients\n')
|
||||||
for ingredient in scraper.ingredients():
|
for ingredient in scraper.ingredients():
|
||||||
|
|
Loading…
Reference in a new issue