mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-09 00:08:04 +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
|
||||
bottle.debug(True)
|
||||
bottle.TEMPLATES.clear()
|
||||
bottle.TEMPLATE_PATH.insert(0,os.path.join(os.path.dirname(__file__), 'views/'))
|
||||
|
||||
import sqlite3
|
||||
import os
|
||||
|
|
Loading…
Reference in a new issue