summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
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():