From 7129e676e283812864f757851f0316cc8cf24b3b Mon Sep 17 00:00:00 2001 From: Joachim Lusiardi Date: Fri, 29 Jul 2016 21:10:58 +0200 Subject: [PATCH] Fixed issue 9 --- app/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/__init__.py b/app/__init__.py index 8b2e2ce..fd530ca 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -187,6 +187,8 @@ def create_vehicle(): if form.consumables.data: form.consumables.default = form.consumables.data + else: + form.consumables.default = [] if form.validate_on_submit(): if len(form.consumables.data) == 0: