[cookboob] small correction
This commit is contained in:
parent
358881dd48
commit
be5db32a19
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ class RecipeInfoFormatter(IFormatter):
|
|||
if not empty(obj.cooking_time):
|
||||
result += 'Cooking time: %smin\n' % obj.cooking_time
|
||||
if not empty(obj.nb_person):
|
||||
nbstr = obj.nb_person[0]
|
||||
nbstr = '%s' % obj.nb_person[0]
|
||||
if len(obj.nb_person) > 1:
|
||||
nbstr += '/%s' % obj.nb_person[1]
|
||||
result += 'Amount of people: %s\n' % nbstr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue