From aab4492556aab22f4df27907f4e99b8081f4c58d Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Sun, 3 May 2020 17:58:29 +0200 Subject: [PATCH] fix bug for #225 --- dotdrop/templategen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dotdrop/templategen.py b/dotdrop/templategen.py index 15522e3..1c97eec 100644 --- a/dotdrop/templategen.py +++ b/dotdrop/templategen.py @@ -148,6 +148,7 @@ class Templategen: def _template_loader(self, relpath): """manually load template when outside of base""" path = os.path.join(self.base, relpath) + path = os.path.normpath(path) if not os.path.exists(path): raise TemplateNotFound(path) with open(path, 'r') as f: