diff options
author | Alexander Sulfrian <alex@spline.inf.fu-berlin.de> | 2016-01-12 03:05:47 +0100 |
---|---|---|
committer | Alexander Sulfrian <alex@spline.inf.fu-berlin.de> | 2016-01-12 04:05:49 +0100 |
commit | b275ac6f8a0589f5a3f0b93a74b7307ff3a996c2 (patch) | |
tree | 987f7dd36aeb39932dd22009d999bc2d55da5d5a /utils/widgets.py | |
parent | dcb0e0cff38a7b83b710b90d92807bc765266f86 (diff) | |
download | padlite-teams-b275ac6f8a0589f5a3f0b93a74b7307ff3a996c2.tar.gz padlite-teams-b275ac6f8a0589f5a3f0b93a74b7307ff3a996c2.tar.bz2 padlite-teams-b275ac6f8a0589f5a3f0b93a74b7307ff3a996c2.zip |
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.
Diffstat (limited to 'utils/widgets.py')
-rw-r--r-- | utils/widgets.py | 1 |
1 files changed, 1 insertions, 0 deletions
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: |