[LNT] r308796 - Wrong usage of Blueprint
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 21 15:38:21 PDT 2017
Author: cmatthews
Date: Fri Jul 21 15:38:20 2017
New Revision: 308796
URL: http://llvm.org/viewvc/llvm-project?rev=308796&view=rev
Log:
Wrong usage of Blueprint
I was passing templates the wrong way.
Modified:
lnt/trunk/lnt/server/ui/decorators.py
Modified: lnt/trunk/lnt/server/ui/decorators.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/decorators.py?rev=308796&r1=308795&r2=308796&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/decorators.py (original)
+++ lnt/trunk/lnt/server/ui/decorators.py Fri Jul 21 15:38:20 2017
@@ -3,7 +3,7 @@ from flask import abort
from flask import current_app, g, render_template
from flask import request
-frontend = flask.Blueprint(__name__, template_folder="ui/templates/",
+frontend = flask.Blueprint("lnt", __name__, template_folder="ui/templates/",
static_folder="ui/static")
More information about the llvm-commits
mailing list