def do_POST(self): print('begin') self.gitpull(GitSrcPath) self.stopHugo() convert = Convertor.Convertor() convert.excute(GitSrcPath, TargetPath) self.startHugo() print("finished") self.wfile.write(b"msg finished")
def setUp(self): self.convert = Convertor.Convertor()