From 6425471dae9e042c335f93e9f7ca9b2abd47ae04 Mon Sep 17 00:00:00 2001 From: jar3b Date: Tue, 15 Mar 2016 12:50:38 +0300 Subject: [PATCH] Fix callable (2nd) --- aore/miscutils/bottlecl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aore/miscutils/bottlecl.py b/aore/miscutils/bottlecl.py index 27af8b3..f424685 100644 --- a/aore/miscutils/bottlecl.py +++ b/aore/miscutils/bottlecl.py @@ -8,8 +8,8 @@ class BottleCL(object): self._app = Bottle() self.init_routes() - def __call__(self, *args): - self._app(*args) + def __call__(self, environ, start_response): + self._app.__call__(environ, start_response) def init_routes(self): pass