diff options
author | Pjotr Prins | 2016-06-23 06:35:08 +0000 |
---|---|---|
committer | Pjotr Prins | 2016-06-23 06:35:08 +0000 |
commit | 7d1daf02fad08abdece2e9b684e4ee7aff4c2b13 (patch) | |
tree | 1f0878fb39bb69614348dd2b6d6bef4961912408 /wqflask/db/call.py | |
parent | 758272e8717774475cdce0576d0f08b1fbf7585d (diff) | |
download | genenetwork2-7d1daf02fad08abdece2e9b684e4ee7aff4c2b13.tar.gz |
Settings: add GN_SERVER_URL
Diffstat (limited to 'wqflask/db/call.py')
-rw-r--r-- | wqflask/db/call.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/db/call.py b/wqflask/db/call.py index 8b47c0ba..ecffdfa1 100644 --- a/wqflask/db/call.py +++ b/wqflask/db/call.py @@ -44,7 +44,7 @@ def gn_server(path): """ with Bench("GN_SERVER",LOG_SQL): - res = urllib2.urlopen("http://localhost:8880/"+path) + res = urllib2.urlopen(GN_SERVER_URL+path) rest = res.read() res2 = json.loads(rest) logger.info(res2) |