mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-10 00:37:49 +08:00
Use absolute path for template
This commit is contained in:
parent
7a6ce403c8
commit
fb655fb0c3
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@ from bottle import route, run, template, static_file, request, redirect
|
||||||
import bottle
|
import bottle
|
||||||
bottle.debug(True)
|
bottle.debug(True)
|
||||||
bottle.TEMPLATES.clear()
|
bottle.TEMPLATES.clear()
|
||||||
|
bottle.TEMPLATE_PATH.insert(0,os.path.join(os.path.dirname(__file__), 'views/'))
|
||||||
|
|
||||||
import sqlite3
|
import sqlite3
|
||||||
import os
|
import os
|
||||||
|
|
Loading…
Reference in a new issue