Fix callable (2nd)
This commit is contained in:
parent
4d24ec4f66
commit
6425471dae
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user