diff options
author | 2019-03-24 17:35:43 -0600 | |
---|---|---|
committer | 2019-03-24 17:35:43 -0600 | |
commit | 1f49e3edd7a1167eb81438c57dc1dd3789bb0b3b (patch) | |
tree | b71e0889a4ea6ed8d22852b9805bd13a60994f00 /snekweb.py | |
parent | Cleanup imports and RMQ (diff) |
More formatting fixes
Diffstat (limited to 'snekweb.py')
-rw-r--r-- | snekweb.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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/<snekboxid>') def websocket_route(ws, snekboxid): """Opens a websocket that spawns and connects to a snekbox daemon.""" + localdata = threading.local() localdata.thread_ws = ws |