From: Fredrik Unger Date: Tue, 15 Feb 2011 17:14:06 +0000 (+0100) Subject: Temporarilly fixed the directory problem. runs in doc, with style and htdocs .. X-Git-Tag: v1.0~52 X-Git-Url: https://source.tree.se/git?p=treecutter.git;a=commitdiff_plain;h=96fb39acd9a96bdfdd046aa30fb71925da11f9d8 Temporarilly fixed the directory problem. runs in doc, with style and htdocs .. Should be made configurable and a standard path should be decided.. --- diff --git a/src/tree-cutter.py b/src/tree-cutter.py index c07820d..db93a6d 100755 --- a/src/tree-cutter.py +++ b/src/tree-cutter.py @@ -11,7 +11,7 @@ from amara import bindery from amara.xslt import transform from Cheetah.Template import Template -dist = "." +dist = os.path.dirname(os.getcwd()) style = "default" style_xslt = dist+"/style/"+style+"/docbook.xsl" style_tmpl = dist+"/style/"+style+"/index.html.tmpl"