Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 21 lines (16 sloc) 0.666 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#!/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()
Something went wrong with that request. Please try again.