aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPjotr Prins2016-09-30 17:40:25 +0200
committerGitHub2016-09-30 17:40:25 +0200
commitbb2505109f589e713730c1e2396ac9ffe5032efd (patch)
tree999478368f782dcaa2ff9f422ffeda9d7ca6894d
parent56ba5dcc2b2ba7ff2103b7b291db1aa610c24d11 (diff)
parenta14887e0c548e5d6b33a2f05092f82a9d4931b13 (diff)
downloadgenenetwork2-bb2505109f589e713730c1e2396ac9ffe5032efd.tar.gz
Merge pull request #192 from lyan6/master
Fix global search "il6" for "Internal Server Error". Add single quote…
-rw-r--r--wqflask/base/trait.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py
index 900e050c..32032ba7 100644
--- a/wqflask/base/trait.py
+++ b/wqflask/base/trait.py
@@ -363,7 +363,7 @@ class GeneralTrait(object):
FROM
Homologene, Species, InbredSet
WHERE
- Homologene.GeneId =%s AND
+ Homologene.GeneId ='%s' AND
InbredSet.Name = '%s' AND
InbredSet.SpeciesId = Species.Id AND
Species.TaxonomyId = Homologene.TaxonomyId