fix food check
This commit is contained in:
parent
6bdb802af8
commit
5c8a483a96
@ -84,7 +84,7 @@ class Participation(object):
|
||||
def __check(self):
|
||||
if "student" not in self._role and self.gwinner_award:
|
||||
self._conflicts.append("Gwinner award selected but not student!")
|
||||
if (self._food_vegan or self._food_gluten or self.vegetarian) and self._food_normal:
|
||||
if (self._food_vegan or self._food_gluten or self._food_vegi) and self._food_normal:
|
||||
self._conflicts.append("Conflict in food preferences!")
|
||||
|
||||
def __calc_fee(self):
|
||||
|
Loading…
Reference in New Issue
Block a user