From afdc48378489d1ce1183dfd720fd838074812a49 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 30 Jan 2022 14:01:55 +0000 Subject: Reformatting. Adding things to date.py --- main.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'main.py') diff --git a/main.py b/main.py index a74baaf..7cfa088 100644 --- a/main.py +++ b/main.py @@ -52,13 +52,13 @@ def index(): @app.route("/up") def form(): boiler.up() - return redirect(url_for('index')) + return redirect(url_for("index")) @app.route("/down") def activity(): boiler.down() - return redirect(url_for('index')) + return redirect(url_for("index")) @app.route("/export") @@ -73,7 +73,9 @@ def export(opt): elif opt == "pdf": pass else: - return render_template("error.html", error="Invalid export type") + return render_template( + "error.html", error="Invalid export type" + ) def updater(): -- cgit v1.2.3