diff options
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(): |
