diff --git a/schilder2000/views.py b/schilder2000/views.py index dfa02925884af9ecdce957bdb9fc20d255505b93..a33aea51f9c9944a3f4e889a1e5b087d351ad634 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)