diff options
Diffstat (limited to '')
-rw-r--r-- | app/forms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/forms.py b/app/forms.py index cdd801f..b0d5339 100644 --- a/app/forms.py +++ b/app/forms.py @@ -25,11 +25,11 @@ class Form(_Form): locales = ['de_DE', 'de'] def __init__ (self, *args, **kwargs): - self._msg = kwargs.pop('flash', u"Fehler im Formular!") + self._msg = kwargs.pop('flash', "Fehler im Formular!") _Form.__init__(self, *args, **kwargs) def flash(self): - flask.flash(self._msg, u'error') + flask.flash(self._msg, 'error') def flash_validate (self): if not self.validate(): |