diff options
| author | root <root@turin.home> | 2022-01-30 14:01:55 +0000 |
|---|---|---|
| committer | root <root@turin.home> | 2022-01-30 14:01:55 +0000 |
| commit | afdc48378489d1ce1183dfd720fd838074812a49 (patch) | |
| tree | 2e4cb3663212694aa6fe64be35c9ecff575e30c7 /main.py | |
| parent | b6698810b9ff40a2d91b71c61017667642db212a (diff) | |
Reformatting. Adding things to date.py
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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(): |
