1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2026-04-26 18:40:56 +02:00

Template Loading doesn't use settings_local anymore

This commit is contained in:
Roland Haroutiounian 2016-01-13 08:52:33 +01:00
commit 5acf09a1ee
2 changed files with 4 additions and 2 deletions

View file

@ -1,7 +1,7 @@
#-*- coding: utf-8 -*-
import jinja2
import settings_local
import settings
class TemplateLoader(object):
@ -12,7 +12,7 @@ class TemplateLoader(object):
# it to the root "/". By default, it will be the root of the project, defined in the
# settings of the application
# @param follow_links bool : indicates whether or not to follow the symbolic links (default: True)
def __init__(self, search_path=settings_local.base_path, follow_links=True):
def __init__(self, search_path=settings.base_path, follow_links=True):
self.search_path = search_path
self.follow_links = follow_links

View file

@ -2,7 +2,9 @@
## @package settings Configuration file
import pymysql
import os
base_path = os.path.dirname(os.path.abspath(__file__))
debug = False
debug_sql = False