From b275ac6f8a0589f5a3f0b93a74b7307ff3a996c2 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 12 Jan 2016 03:05:47 +0100 Subject: utils: Call __init__ from base class from TextArea The derived class should call __init__ from its base class. The call was missing in the extended TextArea. --- utils/widgets.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/widgets.py b/utils/widgets.py index 3e5d2b8..3b65b82 100644 --- a/utils/widgets.py +++ b/utils/widgets.py @@ -13,6 +13,7 @@ class Static(object): class TextArea(wtforms.widgets.core.TextArea): def __init__(self, **kwargs): self.kwargs = kwargs + super(TextArea, self).__init__() def __call__(self, field, **kwargs): for arg in self.kwargs: -- cgit v1.2.3-1-g7c22