aboutsummaryrefslogtreecommitdiff
path: root/app/views/__init__.py
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-03-21 22:03:37 +0000
committerrubenwardy <rw@rubenwardy.com>2018-03-21 22:03:37 +0000
commit0385590922286093c6c77ca10364b59ef06a240e (patch)
tree9b3d8c4c386b47fa93688490ccce814cacc34a28 /app/views/__init__.py
parent9ddc29e41f18b892b5b21babbfc0539431cd4768 (diff)
downloadcheatdb-0385590922286093c6c77ca10364b59ef06a240e.tar.xz
Use consistent quotes
Diffstat (limited to 'app/views/__init__.py')
-rw-r--r--app/views/__init__.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/__init__.py b/app/views/__init__.py
index 9423453..09ce16f 100644
--- a/app/views/__init__.py
+++ b/app/views/__init__.py
@@ -15,13 +15,13 @@ def domain(url):
return urlparse(url).netloc
# TODO: remove on production!
-@app.route('/static/<path:path>')
+@app.route("/static/<path:path>")
def send_static(path):
- return send_from_directory('static', path)
+ return send_from_directory("static", path)
-@app.route('/')
-@menu.register_menu(app, '.', 'Home')
+@app.route("/")
+@menu.register_menu(app, ".", "Home")
def home_page():
- return render_template('index.html')
+ return render_template("index.html")
from . import users, githublogin, packages