aboutsummaryrefslogtreecommitdiffstats
path: root/snekweb.py
diff options
context:
space:
mode:
authorGravatar Chris Goes <[email protected]>2019-04-29 21:12:58 -0600
committerGravatar GitHub <[email protected]>2019-04-29 21:12:58 -0600
commit40d4972a3420a1f772a9d0464a4369575c11cb5f (patch)
treed30421204a84a104da5411981e5b49c63ede5f18 /snekweb.py
parentMerge pull request #19 from python-discord/urllib3-vuln-fix (diff)
parentRemove space between ignored flake8 rules (diff)
Merge pull request #21 from python-discord/docstring-lint-change
Docstring lint change
Diffstat (limited to 'snekweb.py')
-rw-r--r--snekweb.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/snekweb.py b/snekweb.py
index ff1a72c..3e20fda 100644
--- a/snekweb.py
+++ b/snekweb.py
@@ -22,14 +22,12 @@ 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