Exemple #1
0
 def template(self):
     """return template directory"""
     return self.path + fshelpers.ensure_separator(self.config["template"])
Exemple #2
0
 def output(self):
     """return output directory"""
     return self.path + fshelpers.ensure_separator(self.config["output"])
Exemple #3
0
 def __init__(self, path):
     self.path = fshelpers.ensure_separator(path)
     self.config = yaml.load(fshelpers.read(path, "config.yaml"))