diff options
author | Pjotr Prins | 2016-06-19 16:41:01 +0000 |
---|---|---|
committer | Pjotr Prins | 2016-06-19 16:41:01 +0000 |
commit | 2bae8718f4d4ec185586d12ae007f79a8dd89136 (patch) | |
tree | 28d608fdc2c0784393ac28187bc0f4d50998e25c /wqflask/utility | |
parent | aae827674cdbe46c7f1ce5d2246bf485a24dbbb3 (diff) | |
download | genenetwork2-2bae8718f4d4ec185586d12ae007f79a8dd89136.tar.gz |
gn_server: Species info can be fetched from gn_server
Diffstat (limited to 'wqflask/utility')
-rw-r--r-- | wqflask/utility/logger.py | 5 |
1 files changed, 3 insertions, 2 deletions
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""" |