From a6296e78df9e73f546d6d3224af114b89a8e6f3d Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Wed, 27 Feb 2019 11:41:26 -0500 Subject: [PATCH] Formatting --- atst/forms/forms.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/atst/forms/forms.py b/atst/forms/forms.py index 52586ba2..052d98d3 100644 --- a/atst/forms/forms.py +++ b/atst/forms/forms.py @@ -37,5 +37,7 @@ class CacheableForm(ValidatedForm): _data = super(FlaskForm, self).data for field in _data: if _data[field].__class__.__name__ == "list": - _data[field] = [el for el in _data[field] if el not in self.EMPTY_LIST_FIELD] + _data[field] = [ + el for el in _data[field] if el not in self.EMPTY_LIST_FIELD + ] return _data