Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 21 lines (15 sloc) 468 Bytes
#!/usr/bin/python
# -*- coding: utf-8 -*-
from google.appengine.ext import webapp
from google.appengine.ext.webapp import util
from handlers import *
from settings import DEBUG
def application():
app = webapp.WSGIApplication([
('/(?:(-)?(\d+)?x(-)?(\d+)?/)?(?:(left|right|center)/)?(?:(top|bottom|middle)/)?/?(.+)', MainHandler)
], debug=DEBUG)
return app
def main():
util.run_wsgi_app(application())
if __name__ == '__main__':
main()
Something went wrong with that request. Please try again.