aboutsummaryrefslogtreecommitdiffstats
path: root/python/db.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/db.py')
-rw-r--r--python/db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/db.py b/python/db.py
index 8a7a21f2..1a074cb8 100644
--- a/python/db.py
+++ b/python/db.py
@@ -41,7 +41,7 @@ def dbconn(dbname):
cursor_factory=DictCursor)
def dbengine(dbname):
- if dbname == 'rmbs_model':
+ if dbname in ['rmbs_model', 'corelogic']:
uri = URL(drivername="mysql+mysqlconnector",
host="debian", database=dbname,
query={'option_files': os.path.expanduser('~/.my.cnf')})