Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 22 lines (16 sloc) 0.666 kb
aa1719b @alexksikes Initial commit.
authored
1 #!/usr/bin/env python
2 # Author: Alex Ksikes
3
4 import web
5 import config
6 import app.controllers
7
8 urls = (
9 '/', 'app.controllers.handle_templates.index',
10 '/send', 'app.controllers.handle_templates.send',
11 '/recipients', 'app.controllers.preview_recipients.browse',
12
13 '/(?:img|js|css)/.*', 'app.controllers.public.public',
14 )
15
16 app = web.application(urls, globals())
17 if web.config.email_errors:
18 app.internalerror = web.emailerrors(web.config.email_errors, web.webapi._InternalError)
19
20 if __name__ == "__main__":
21 app.run()
Something went wrong with that request. Please try again.