diff --git a/email_client.py b/email_client.py index 2ce57fb..f68db5f 100644 --- a/email_client.py +++ b/email_client.py @@ -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):