This commit is contained in:
benoitc 2012-07-13 18:13:19 +02:00
parent 489e935038
commit 4d70a526f2

View File

@ -60,7 +60,7 @@ class TornadoWorker(Worker):
# instance of tornado.wsgi.WSGIApplication
app = self.wsgi
if not isinstance(app, tornado.web.Application) or \
isinstance(app, tornado.wsgi.WSGIApplicaion):
isinstance(app, tornado.wsgi.WSGIApplication):
app = WSGIContainer(app)
# Monkey-patching HTTPConnection.finish to count the