From de34f029267906298c37d43ce631525ef9713d39 Mon Sep 17 00:00:00 2001 From: Joshua McKenty Date: Tue, 16 Apr 2013 11:00:52 -0700 Subject: [PATCH] Don't run the app, let the wsgi layer do that. --- refstack/web.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/refstack/web.py b/refstack/web.py index 2c5b5bbc..e45efaff 100644 --- a/refstack/web.py +++ b/refstack/web.py @@ -23,9 +23,9 @@ app.debug = True def index(): return render_template('index.html') - -resource = WSGIResource(reactor, reactor.getThreadPool(), app) -site = Site(resource) -app.listeningPort = reactor.listenTCP(PORT, site) - -reactor.run() \ No newline at end of file +# +# resource = WSGIResource(reactor, reactor.getThreadPool(), app) +# site = Site(resource) +# app.listeningPort = reactor.listenTCP(PORT, site) +# +# reactor.run() \ No newline at end of file