diff --git a/weboob/applications/qcookboob/recipe.py b/weboob/applications/qcookboob/recipe.py index a72c59cd..bb9c3ff6 100644 --- a/weboob/applications/qcookboob/recipe.py +++ b/weboob/applications/qcookboob/recipe.py @@ -43,7 +43,10 @@ class Recipe(QFrame): if not empty(recipe.title): self.ui.titleLabel.setText(recipe.title) if not empty(recipe.nb_person): - self.ui.nbPersonLabel.setText('%s'%recipe.nb_person) + nbstr = '%s' % recipe.nb_person[0] + if len(recipe.nb_person) > 1: + nbstr += '/%s' % recipe.nb_person[1] + self.ui.nbPersonLabel.setText(nbstr) else: self.ui.nbPersonLabel.parent().hide() if not empty(recipe.preparation_time):