Skip to content
Snippets Groups Projects
Commit d8f39b69 authored by Michael Loipführer's avatar Michael Loipführer
Browse files

fix template loading

parent beb1fd51
No related branches found
No related tags found
No related merge requests found
Pipeline #351 passed
...@@ -12,7 +12,7 @@ from .config import config, DEFAULT_TEMPLATE_DIR ...@@ -12,7 +12,7 @@ from .config import config, DEFAULT_TEMPLATE_DIR
logging.basicConfig(format='%(levelname)s:%(message)s', level=config['log_level']) logging.basicConfig(format='%(levelname)s:%(message)s', level=config['log_level'])
env = Environment(loader=PackageLoader('lustmolch', str(Path(__file__).parent / 'templates'))) env = Environment(loader=PackageLoader('lustmolch', 'templates'))
cfg_template = namedtuple('cfg_template', ['source', 'path', 'filename']) cfg_template = namedtuple('cfg_template', ['source', 'path', 'filename'])
template_files_host = [ template_files_host = [
......
from setuptools import setup from setuptools import setup
VERSION = '1.0.4' VERSION = '1.0.5'
AUTHOR = 'Michael Loipführer' AUTHOR = 'Michael Loipführer'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment