From a5954e604d604e295e76c007f241f985c91cb4aa Mon Sep 17 00:00:00 2001 From: thoralmighty Date: Tue, 29 Nov 2022 21:34:53 +0100 Subject: [PATCH] Removed more example code --- main.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/main.py b/main.py index 664d597..8541367 100644 --- a/main.py +++ b/main.py @@ -65,10 +65,6 @@ def index(): @app.route("/configure") def configure(): return render_template('configure.html') - -@app.route("//") -def action(deviceName, action): - templateData = {} - return render_template('index.html', **templateData) + if __name__ == "__main__": app.run(host='0.0.0.0', port=8081, debug=True) \ No newline at end of file