Mercurial > piecrust2
changeset 56:2d617b889b00
Make template directories properly absolute.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 26 Aug 2014 23:17:20 -0700 |
parents | 45828c4167ad |
children | c8c522dacfea |
files | piecrust/app.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/piecrust/app.py Mon Aug 25 21:40:25 2014 -0700 +++ b/piecrust/app.py Tue Aug 26 23:17:20 2014 -0700 @@ -512,7 +512,7 @@ if isinstance(conf_dirs, str): dirs.append(os.path.join(self.root_dir, conf_dirs)) else: - dirs += [p for p in conf_dirs if os.path.join(self.root_dir, p)] + dirs += [os.path.join(self.root_dir, p) for p in conf_dirs] # Add the default directory if it exists. default_dir = os.path.join(self.root_dir, default_rel_dir)