aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/mrna_assay_tissue_data.py
diff options
context:
space:
mode:
authorBonfaceKilz2020-08-27 01:28:08 +0300
committerBonfaceKilz2020-08-27 01:42:46 +0300
commit2697301045266b40f571eeb2f9c7d8eb220552b4 (patch)
treeeb11fb6fe7ea649dad359753441485589fc29f0d /wqflask/base/mrna_assay_tissue_data.py
parent5992562296aabdd51bc3575f36d16d1c245d9d1f (diff)
downloadgenenetwork2-2697301045266b40f571eeb2f9c7d8eb220552b4.tar.gz
Replace mysqldb's "escape" with the one from utils.db_tools
Mysqldb's escape returns a binary string. Use utils.db_tools which adds an extra step of converting the binary string to a string.
Diffstat (limited to 'wqflask/base/mrna_assay_tissue_data.py')
-rw-r--r--wqflask/base/mrna_assay_tissue_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/mrna_assay_tissue_data.py b/wqflask/base/mrna_assay_tissue_data.py
index 12f18f71..f1929518 100644
--- a/wqflask/base/mrna_assay_tissue_data.py
+++ b/wqflask/base/mrna_assay_tissue_data.py
@@ -5,7 +5,7 @@ from flask import g
from utility import db_tools
from utility import Bunch
-from MySQLdb import escape_string as escape
+from utility.db_tools import escape
from utility.logger import getLogger