Implement callable in BottleCL

This commit is contained in:
jar3b 2016-03-15 12:45:35 +03:00
parent 92628d076b
commit 64a9333d68

View File

@ -8,6 +8,9 @@ class BottleCL(object):
self._app = Bottle() self._app = Bottle()
self.init_routes() self.init_routes()
def __call__(self, **kwargs):
self._app(**kwargs)
def init_routes(self): def init_routes(self):
pass pass