forked from mirrors/thatmattlove-hyperglass
fixed HTML/CSS rendering functions in wsgi
This commit is contained in:
parent
5c66f634b5
commit
0607fa539e
1 changed files with 3 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
|||
import os
|
||||
import hyperglass
|
||||
from hyperglass.hyperglass import app
|
||||
from hyperglass import render
|
||||
|
||||
application = app
|
||||
|
||||
|
|
@ -9,5 +10,6 @@ hyperglass_root = os.path.dirname(hyperglass.__file__)
|
|||
static = os.path.join(hyperglass_root, "static")
|
||||
|
||||
if __name__ == "__main__":
|
||||
application.renderCSS()
|
||||
hyperglass.render.css.renderTemplate()
|
||||
hyperglass.render.html.renderTemplate()
|
||||
application.run(static_folder=static)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue