Remove extraneous statement

This commit is contained in:
Lukáš Kucharczyk 2024-09-14 11:10:28 +02:00
parent b0b1bb2d42
commit b74ccb6eaa
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
1 changed files with 0 additions and 1 deletions

View File

@ -241,7 +241,6 @@ def delete_session(request: HttpRequest, session_id: int = 0) -> HttpResponse:
session = get_object_or_404(Session, id=session_id) session = get_object_or_404(Session, id=session_id)
session.delete() session.delete()
return redirect("list_sessions") return redirect("list_sessions")
return redirect("list_sessions")
@login_required @login_required