From 2bae8718f4d4ec185586d12ae007f79a8dd89136 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sun, 19 Jun 2016 16:41:01 +0000 Subject: gn_server: Species info can be fetched from gn_server --- wqflask/utility/logger.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'wqflask/utility/logger.py') diff --git a/wqflask/utility/logger.py b/wqflask/utility/logger.py index 0d374f1a..6a8b3e7e 100644 --- a/wqflask/utility/logger.py +++ b/wqflask/utility/logger.py @@ -78,8 +78,9 @@ class GNLogger: """Log SQL command, optionally invoking a timed fun""" self.info(description,sqlcommand) if fun: - self.info("Invoking function") - return fun(sqlcommand) + result = fun(sqlcommand) + self.info("result:",result) + return result def collect(self,fun,*args): """Collect arguments and use fun to output one by one""" -- cgit v1.2.3