From 515e02bcc6f6477de3325b221899b27a32cd518b Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Sun, 12 Jun 2011 22:31:26 +0200 Subject: [PATCH] Add the OUTPUT_PATH as a relative path. --- pelican/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pelican/settings.py b/pelican/settings.py index 98a11216..bc866494 100644 --- a/pelican/settings.py +++ b/pelican/settings.py @@ -75,7 +75,7 @@ def read_settings(filename): log.warn("LOCALE option doesn't contain a correct value") # Make the paths relative to the settings file - for path in ['PATH']: + for path in ['PATH', 'OUTPUT_PATH']: if path in context: if not os.path.isabs(context[path]): context[path] = os.path.abspath(os.path.normpath(os.path.join(os.path.dirname(filename), context[path])))