From 13525b1e23668090291d8ad91732212de2f162ff Mon Sep 17 00:00:00 2001 From: anthraxx Date: Sat, 24 Dec 2016 01:06:18 +0200 Subject: [PATCH] group: fixed advisory qualified field not being respected --- app/view/add.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/view/add.py b/app/view/add.py index 1519f3a1..7df0f3e3 100644 --- a/app/view/add.py +++ b/app/view/add.py @@ -61,7 +61,7 @@ def add_group(): affected = Affected.fromstring(form.status.data) status = affected_to_status(affected, pkgnames[0], fixed) severity = highest_severity([issue.severity for issue in issues]) - advisory_qualified = form.advisory_qualified and status is not Status.not_affected + advisory_qualified = form.advisory_qualified.data and status is not Status.not_affected group = db.create(CVEGroup, affected=form.affected.data,