Fix callable (2nd)

This commit is contained in:
jar3b 2016-03-15 12:50:38 +03:00
parent 4d24ec4f66
commit 6425471dae

View File

@ -8,8 +8,8 @@ class BottleCL(object):
self._app = Bottle() self._app = Bottle()
self.init_routes() self.init_routes()
def __call__(self, *args): def __call__(self, environ, start_response):
self._app(*args) self._app.__call__(environ, start_response)
def init_routes(self): def init_routes(self):
pass pass