ZeroDivisionError si pas de grain

Bug #1053596 reported by Nico
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
JolieBulle
Fix Released
High
314r

Bug Description

Si la liste des ingrédients ne contient pas de grain, l'ajout autre type d'ingrédient produit une ZeroDivisionError ligne 2222 du script main.py :

        #calcul du rapport BU/GU
        self.ratioBuGu = self.ibuTot / self.GU

La conséquence est qu'aucun ingrédient ne s'affiche tant qu'on ajoute pas au moins un grain

Related branches

314r (314r)
Changed in joliebulle:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → 314r (314r)
milestone: none → 2.8
314r (314r)
Changed in joliebulle:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.