diff options
author | Lei Yan | 2016-09-29 23:39:05 +0000 |
---|---|---|
committer | Lei Yan | 2016-09-29 23:39:05 +0000 |
commit | a14887e0c548e5d6b33a2f05092f82a9d4931b13 (patch) | |
tree | 44e83e8fff27505dc79e5f83eef93df50e3ec472 | |
parent | 55b332d6f03f20054902dabb7beeaaebef2139ac (diff) | |
download | genenetwork2-a14887e0c548e5d6b33a2f05092f82a9d4931b13.tar.gz |
Fix global search "il6" for "Internal Server Error". Add single quotes into MySQL query.
-rw-r--r-- | wqflask/base/trait.py | 2 |
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 |