Browse Source

Fix flask-mako registering.

pull/24/head
Ben Kurtovic 10 years ago
parent
commit
f25f963d22
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      app.fcgi

+ 2
- 1
app.fcgi View File

@@ -6,10 +6,11 @@ from logging import DEBUG
from logging.handlers import TimedRotatingFileHandler

from flask import Flask, request
from flask.ext.mako import render_template
from flask.ext.mako import MakoTemplates, render_template
from flup.server.fcgi import WSGIServer

app = Flask(__name__)
MakoTemplates(app)

app.logger.setLevel(DEBUG)
app.logger.addHandler(TimedRotatingFileHandler("logs/app.log", when="D",


Loading…
Cancel
Save