commit 521f83dcbd52729eaa30bdff4b8c08e8cd25f265
parent 2fc3c7a5a22610d685da513227c126afcb382070
Author: Sam Kingston <sam@sjkwi.com.au>
Date: Sun, 10 Oct 2010 20:19:12 +1000
changed default config to make use of ConfigParser's string interpolation to save repeating path prefixes
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/constance.py b/constance.py
@@ -30,11 +30,11 @@ def output(filename, content):
print 'Wrote %s' % filename
default_config = """[paths]
-blog = ./blog/
+root = ./htdocs
+blog = %(root)s/blog
+tags = %(root)s/tags
reading_log =
-tags = ./tags/
-root = ./
-xslt = ./style.xsl
+xslt = ./sample.xsl
[template]
website = http://localhost