aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/trait.py
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/base/trait.py')
-rw-r--r--wqflask/base/trait.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py
index 70afa2cc..3a52e889 100644
--- a/wqflask/base/trait.py
+++ b/wqflask/base/trait.py
@@ -172,13 +172,13 @@ class GeneralTrait:
alias = 'Not available'
if self.symbol:
human_response = requests.get(
- get_setting("GN2_BASE_URL") + "gn3/gene/aliases/" +
+ get_setting(app, "GN2_BASE_URL") + "gn3/gene/aliases/" +
self.symbol.upper())
mouse_response = requests.get(
- get_setting("GN2_BASE_URL") + "gn3/gene/aliases/" +
+ get_setting(app, "GN2_BASE_URL") + "gn3/gene/aliases/" +
self.symbol.capitalize())
other_response = requests.get(
- get_setting("GN2_BASE_URL") + "gn3/gene/aliases/" +
+ get_setting(app, "GN2_BASE_URL") + "gn3/gene/aliases/" +
self.symbol.lower())
if human_response and mouse_response and other_response: