Settings
Movie List Directory selection
This commit is contained in:
1 parent
272e0b8527
commit
8682be33fb
27 files changed
+1770
-233
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user