aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2020-02-14 12:05:32 -0600
committerzsloan2020-02-14 12:05:32 -0600
commita7a0d268095a06c66233a5dc08461d66db5f14b7 (patch)
treeebd75d8854b537bfb21fb311d0abf62b967090b4
parent7641b35b47b6725ad8aa2b5e9dc2750d423b26b7 (diff)
downloadgenenetwork2-a7a0d268095a06c66233a5dc08461d66db5f14b7.tar.gz
Fixed issue that caused wildcard searches to not work
-rw-r--r--wqflask/wqflask/do_search.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/do_search.py b/wqflask/wqflask/do_search.py
index 061aacaa..5cb06305 100644
--- a/wqflask/wqflask/do_search.py
+++ b/wqflask/wqflask/do_search.py
@@ -52,8 +52,8 @@ class DoSearch(object):
def handle_wildcard(self, str):
keyword = str.strip()
- keyword.replace("*",".*")
- keyword.replace("?",".")
+ keyword = keyword.replace("*",".*")
+ keyword = keyword.replace("?",".")
return keyword