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