1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/usr/bin/env python3 import cherrypy import cherry_lesana as cl def main(): # TODO: read config from a file or something config = { '/': { }, } cherrypy.quickstart(cl.App(), '/', config) if __name__ == '__main__': main()