From 33e67acff54b511d33dfc58caf31bb9c06beaa53 Mon Sep 17 00:00:00 2001 From: Thomas Schneider <thomas@fsmpi.rwth-aachen.de> Date: Mon, 16 Sep 2024 17:41:43 +0200 Subject: [PATCH] Formatting --- schilder2000/views.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/schilder2000/views.py b/schilder2000/views.py index dfa0292..a33aea5 100644 --- a/schilder2000/views.py +++ b/schilder2000/views.py @@ -70,7 +70,9 @@ async def print(ident): "copies": form.copies.data, "job-media-sheets": form.copies.data, }, - "data": flask_weasyprint.HTML(url_for("instance.schild_html", ident=ident)).write_pdf(), + "data": flask_weasyprint.HTML( + url_for("instance.schild_html", ident=ident) + ).write_pdf(), }, ) flash("Druckt …") @@ -93,6 +95,7 @@ def create(): form=form, ) + @bp.route("/logout") def logout(): return multipass.logout(url_for(".index"), clear_session=True) -- GitLab