summaryrefslogtreecommitdiff
path: root/ausbutler/db.py
diff options
context:
space:
mode:
Diffstat (limited to 'ausbutler/db.py')
-rw-r--r--ausbutler/db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ausbutler/db.py b/ausbutler/db.py
index df8711d..94f07de 100644
--- a/ausbutler/db.py
+++ b/ausbutler/db.py
@@ -6,7 +6,7 @@ from .config import load_config
def get_session():
session = sessionmaker(bind=create_engine(
- "mysql://{0[user]}:{0[pass]}@{0[host]}/{0[db]}?charset=utf8".format(
+ "mysql+mysqlconnector://{0[user]}:{0[pass]}@{0[host]}/{0[db]}?charset=utf8".format(
load_config('db')
)))
return session()