Use absolute path for template

pull/26/head
Louis Vézina 7 years ago
parent 7a6ce403c8
commit fb655fb0c3

@ -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…
Cancel
Save