diff options
| author | root <root@turin.home> | 2022-01-16 14:26:27 +0000 |
|---|---|---|
| committer | root <root@turin.home> | 2022-01-16 14:26:27 +0000 |
| commit | 2b19df63197a86752a71345c3eb3044786ccb0dd (patch) | |
| tree | d1a5d367012337a71b64300f7085c89a6da5c867 | |
| parent | d768da05fb2e52f291ec7e6e11f7435e668548a9 (diff) | |
Redirect to home after changing temperature
| -rw-r--r-- | main.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -51,13 +51,13 @@ def index(): @app.route("/up") def form(): boiler.up() - return main_page() + return redirect(url_for('/')) @app.route("/down") def activity(): boiler.down() - return main_page() + return redirect(url_for('/')) @app.route("/export") |
