Fix callable
This commit is contained in:
parent
64a9333d68
commit
4d24ec4f66
@ -8,8 +8,8 @@ class BottleCL(object):
|
|||||||
self._app = Bottle()
|
self._app = Bottle()
|
||||||
self.init_routes()
|
self.init_routes()
|
||||||
|
|
||||||
def __call__(self, **kwargs):
|
def __call__(self, *args):
|
||||||
self._app(**kwargs)
|
self._app(*args)
|
||||||
|
|
||||||
def init_routes(self):
|
def init_routes(self):
|
||||||
pass
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user