From e263a11eeb08443ebfd7bf3fa70f4ceb543b44b0 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Tue, 5 Jul 2016 08:33:29 +0200 Subject: First batch of py3 changes --- app/views/user.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views/user.py') diff --git a/app/views/user.py b/app/views/user.py index cb97136..2a8730d 100644 --- a/app/views/user.py +++ b/app/views/user.py @@ -19,11 +19,11 @@ class LoginForm(F.Form): remember = F.BooleanField(u'Eingeloggt bleiben?') def __init__(self, *args, **kwargs): - super(LoginForm, self).__init__(*args, **kwargs) + super().__init__(*args, **kwargs) self.user = None def validate(self): - rv = super(LoginForm, self).validate() + rv = super().validate() if not rv: return False -- cgit v1.2.3-70-g09d2