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