diff piecrust/processing/util.py @ 1005:2e5c5d33d62c

Merge changes.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 21 Nov 2017 22:07:12 -0800
parents 46025a1b5434
children 5762a0b821ac
line wrap: on
line diff
--- a/piecrust/processing/util.py	Tue Nov 21 21:30:37 2017 -0800
+++ b/piecrust/processing/util.py	Tue Nov 21 22:07:12 2017 -0800
@@ -74,8 +74,7 @@
             dirname, _ = os.path.split(path)
             info.files = [os.path.join(dirname, f) for f in info.files]
         elif path_mode == 'absolute':
-            info.files = [os.path.join(self.app.root_dir, f)
-                          for f in info.files]
+            info.files = [self.app.resolvePath(f) for f in info.files]
         else:
             raise Exception("Unknown path mode: %s" % path_mode)