aboutsummaryrefslogtreecommitdiff
path: root/uploader/base_routes.py
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/base_routes.py')
-rw-r--r--uploader/base_routes.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/uploader/base_routes.py b/uploader/base_routes.py
index a20b7ff..742a254 100644
--- a/uploader/base_routes.py
+++ b/uploader/base_routes.py
@@ -2,15 +2,15 @@
import os
from urllib.parse import urljoin
-from flask import (
- Blueprint,
- render_template,
- current_app as app,
- send_from_directory)
+from flask import (Blueprint,
+ current_app as app,
+ send_from_directory)
+from uploader.ui import make_template_renderer
from uploader.oauth2.client import user_logged_in
base = Blueprint("base", __name__)
+render_template = make_template_renderer("home")
@base.route("/favicon.ico", methods=["GET"])