Subversion Repositories navi

Compare Revisions

Ignore whitespace Rev 132 → Rev 131

/webapp/main.py
57,10 → 57,6
out = parse.parsesent(word)
self.render("templates/parse.html", last=word, out=out)
 
settings = {
"static_path": os.path.join(os.path.dirname(__file__), "static")
}
 
application = tornado.web.Application([
("/", Index),
("/number", Number),
67,7 → 63,7
("/restart", Restart),
("/testdb", TestDB),
("/parse", Parse)
], **settings)
], static_path = "static")
 
if __name__ == "__main__":
http_server = tornado.httpserver.HTTPServer(application)