swsnider / sse-pos

POS for thrift store

This URL has Read+Write access

sse-pos / sse-pos.py
100755 18 lines (14 sloc) 0.446 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from routes.mapper import Mapper
from google.appengine.ext.webapp.util import run_wsgi_app
from wsgi import WSGIApplication
from controllers import *
import os
 
 
myMap = Mapper(explicit=True)
from routing import add_routes
add_routes(myMap)
debug = os.environ['SERVER_SOFTWARE'].lower().startswith("development/")
app = WSGIApplication(myMap, debug=debug)
 
def main():
    run_wsgi_app(app)
 
if __name__ == "__main__":
    main()