From 1f49e3edd7a1167eb81438c57dc1dd3789bb0b3b Mon Sep 17 00:00:00 2001 From: Christopher Goes Date: Sun, 24 Mar 2019 17:35:43 -0600 Subject: More formatting fixes --- snekweb.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'snekweb.py') diff --git a/snekweb.py b/snekweb.py index 3e20fda..ff1a72c 100644 --- a/snekweb.py +++ b/snekweb.py @@ -22,12 +22,14 @@ log = app.logger @app.route('/') def index(): """Root path returns standard index.html.""" + return render_template('index.html') @sockets.route('/ws/') def websocket_route(ws, snekboxid): """Opens a websocket that spawns and connects to a snekbox daemon.""" + localdata = threading.local() localdata.thread_ws = ws -- cgit v1.2.3