This commit is contained in:
Valentin Samir
2016-06-03 14:19:43 +02:00
parent 77fcd7a24e
commit 3a57ad0835
2 changed files with 3 additions and 1 deletions

View File

@ -197,7 +197,7 @@ class LoginView(View, LogoutMixin):
def init_post(self, request):
self.request = request
self.service = request.POST.get('service')
if request.POST.get('renew') and request.POST['renew'] != "False" :
if request.POST.get('renew') and request.POST['renew'] != "False":
self.renew = True
else:
self.renew = False