Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: demo
Fetching contributors…

Cannot retrieve contributors at this time

executable file 22 lines (16 sloc) 0.666 kB
#!/usr/bin/env python
# Author: Alex Ksikes
import web
import config
import app.controllers
urls = (
'/', 'app.controllers.handle_templates.index',
'/send', 'app.controllers.handle_templates.send',
'/recipients', 'app.controllers.preview_recipients.browse',
'/(?:img|js|css)/.*', 'app.controllers.public.public',
)
app = web.application(urls, globals())
if web.config.email_errors:
app.internalerror = web.emailerrors(web.config.email_errors, web.webapi._InternalError)
if __name__ == "__main__":
app.run()
Jump to Line
Something went wrong with that request. Please try again.