aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/base')
-rw-r--r--wqflask/base/mrna_assay_tissue_data.py2
-rw-r--r--wqflask/base/trait.py2
2 files changed, 2 insertions, 2 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
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py
index 2fd5d725..e3507ae1 100644
--- a/wqflask/base/trait.py
+++ b/wqflask/base/trait.py
@@ -19,7 +19,7 @@ Redis = get_redis_conn()
from wqflask import app
import simplejson as json
-from MySQLdb import escape_string as escape
+from utility.db_tools import escape
from pprint import pformat as pf
from flask import Flask, g, request, url_for, redirect, make_response, render_template