diff --git a/cookbook/helper/ingredient_parser.py b/cookbook/helper/ingredient_parser.py index b3f4a1c0..0b97dc6d 100644 --- a/cookbook/helper/ingredient_parser.py +++ b/cookbook/helper/ingredient_parser.py @@ -203,7 +203,7 @@ class IngredientParser: def parse(self, x): # initialize default values amount = 0 - unit = '' + unit = None ingredient = '' note = '' unit_note = ''