summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorroot <root@turin.home>2022-01-30 14:01:55 +0000
committerroot <root@turin.home>2022-01-30 14:01:55 +0000
commitafdc48378489d1ce1183dfd720fd838074812a49 (patch)
tree2e4cb3663212694aa6fe64be35c9ecff575e30c7 /main.py
parentb6698810b9ff40a2d91b71c61017667642db212a (diff)
Reformatting. Adding things to date.py
Diffstat (limited to 'main.py')
-rw-r--r--main.py8
1 files changed, 5 insertions, 3 deletions
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():