Permalink
Browse files

wsgifunc

  • Loading branch information...
1 parent a8867a3 commit f48478d171a3f05d26c868009f8f707f5c0ec10d @aaronsw committed Feb 14, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 Procfile
  2. +1 −1 webapp.py
View
@@ -1 +1 @@
-web: env PYTHONPATH=.:vendor ./bin/gunicorn -b 0.0.0.0:$PORT -w 4 webapp:app
+web: env PYTHONPATH=.:vendor ./bin/gunicorn -b 0.0.0.0:$PORT -w 4 webapp:wsgiapp
View
@@ -944,7 +944,7 @@ def congress_ranges(congresses):
app.notfound = notfound
if production_mode:
pass#app.internalerror = web.emailerrors(config.send_errors_to, internalerror)
-
+wsgiapp = app.wsgifunc()
if __name__ == "__main__":
import sys
if len(sys.argv) > 1 and sys.argv[1] == 'cache':

0 comments on commit f48478d

Please sign in to comment.