Movie List
Directory selection
This commit is contained in:
Ruud committed 2011-02-21 22:42:24 +01:00
1 parent 272e0b8527
commit 8682be33fb
27 files changed
+1770 -233

No files matched your search

+2 -1
View File
@@ -6,6 +6,7 @@ from flask.helpers import url_for
from flask.module import Module
from flask.templating import render_template
from werkzeug.utils import redirect
import os
app = Flask(__name__)
log = CPLog(__name__)
@@ -15,7 +16,7 @@ web = Module(__name__, 'web')
@web.route('/')
@requires_auth
def index():
return render_template('index.html')
return render_template('index.html', sep = os.sep)
@app.errorhandler(404)
def page_not_found(error):