summaryrefslogtreecommitdiff
path: root/apitest.py
diff options
context:
space:
mode:
Diffstat (limited to 'apitest.py')
-rw-r--r--apitest.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/apitest.py b/apitest.py
index b3987d8..8710476 100644
--- a/apitest.py
+++ b/apitest.py
@@ -99,6 +99,10 @@ def dict_logger(log, stack_info=None):
logging.info('Traceback', exc_info=True)
+def counter():
+ pass
+
+
logfile = os.environ.get('APITEST_LOG')
if logfile:
logging.basicConfig(filename=logfile, level=logging.DEBUG)
@@ -134,7 +138,7 @@ config = {
# hopefully don't need to care, how the magic works.
api = Api()
-app = apifw.create_bottle_application(api, dict_logger, config)
+app = apifw.create_bottle_application(api, counter, dict_logger, config)
# If we are running this program directly with Python, and not via
# gunicorn, we can use the Bottle built-in debug server, which can