diff --git a/botan-rebuild.py b/botan-rebuild.py index 3c89c0a..937aaa5 100755 --- a/botan-rebuild.py +++ b/botan-rebuild.py @@ -5,6 +5,11 @@ sys.path.append( os.path.abspath( "." ) ) from botanjs.service.jwork import app, JWork from botanjs.config import Config as config +SiteRoot = os.path.abspath( "." ) + +# Setting the SiteRoot for config +config["Paths"]["SiteRoot"] = SiteRoot; + bmap = os.path.join( config["Paths"]["Cache"], "botanjs", "bmap.xml" ) app.conf.update( BROKER_URL = config["BotanJS"]["CeleryBroker"] )