예제 #1
0
파일: config.py 프로젝트: fromothers/drupan
 def template(self):
     """return template directory"""
     return self.path + fshelpers.ensure_separator(self.config["template"])
예제 #2
0
파일: config.py 프로젝트: fromothers/drupan
 def output(self):
     """return output directory"""
     return self.path + fshelpers.ensure_separator(self.config["output"])
예제 #3
0
파일: config.py 프로젝트: fromothers/drupan
 def __init__(self, path):
     self.path = fshelpers.ensure_separator(path)
     self.config = yaml.load(fshelpers.read(path, "config.yaml"))