Skip to content
Snippets Groups Projects
Commit 33e67acf authored by Thomas Schneider's avatar Thomas Schneider
Browse files

Formatting

parent f469121e
Branches
Tags
No related merge requests found
...@@ -70,7 +70,9 @@ async def print(ident): ...@@ -70,7 +70,9 @@ async def print(ident):
"copies": form.copies.data, "copies": form.copies.data,
"job-media-sheets": 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 …") flash("Druckt …")
...@@ -93,6 +95,7 @@ def create(): ...@@ -93,6 +95,7 @@ def create():
form=form, form=form,
) )
@bp.route("/logout") @bp.route("/logout")
def logout(): def logout():
return multipass.logout(url_for(".index"), clear_session=True) return multipass.logout(url_for(".index"), clear_session=True)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment