diff --git a/fet2020/authentications/views.py b/fet2020/authentications/views.py index da6ac71f..31c7f5bf 100644 --- a/fet2020/authentications/views.py +++ b/fet2020/authentications/views.py @@ -30,7 +30,10 @@ def loginPage(request): except: return redirect("home") else: - messages.error(request, "Anmeldung nicht erfolgreich. Bitte überprüfe Benutzername und Passwort.") + messages.error( + request, + "Anmeldung nicht erfolgreich. Bitte überprüfe Benutzername und Passwort.", + ) form = LoginForm() diff --git a/fet2020/documents/etherpadlib.py b/fet2020/documents/etherpadlib.py index a4b38cb1..bc82c2b7 100644 --- a/fet2020/documents/etherpadlib.py +++ b/fet2020/documents/etherpadlib.py @@ -17,7 +17,7 @@ def __get_ep_sessionid(request): name=str(request.user), authorMapper=str(request.user) ) expires = timezone.now() + timedelta(hours=3) - + try: result = epc.createSession( groupID=str(group["groupID"]),