From d8f39b699886442c087f739021f5bff120c54eba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20Loipf=C3=BChrer?= <michael.loipfuehrer@stusta.de>
Date: Sun, 15 Mar 2020 21:11:02 +0100
Subject: [PATCH] fix template loading

---
 lustmolch/lustmolch.py | 2 +-
 setup.py               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lustmolch/lustmolch.py b/lustmolch/lustmolch.py
index 881faef..29c3977 100755
--- a/lustmolch/lustmolch.py
+++ b/lustmolch/lustmolch.py
@@ -12,7 +12,7 @@ from .config import config, DEFAULT_TEMPLATE_DIR
 
 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'])
 
 template_files_host = [
diff --git a/setup.py b/setup.py
index fd3a027..82493df 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,6 @@
 from setuptools import setup
 
-VERSION = '1.0.4'
+VERSION = '1.0.5'
 AUTHOR = 'Michael Loipführer'
 
 
-- 
GitLab