Yuvipanda has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/149652

Change subject: Force all connections to be utf8
......................................................................

Force all connections to be utf8

Change-Id: I7988d282ca2a820b51cb66c4aefdd3c70e38543f
---
M quarry/web/app.py
1 file changed, 4 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/analytics/quarry/web 
refs/changes/52/149652/1

diff --git a/quarry/web/app.py b/quarry/web/app.py
index 80fc6c5..23a994f 100644
--- a/quarry/web/app.py
+++ b/quarry/web/app.py
@@ -105,7 +105,8 @@
         db=app.config['REPLICA_DB'],
         user=app.config['REPLICA_USER'],
         passwd=app.config['REPLICA_PASSWORD'],
-        port=app.config['REPLICA_PORT']
+        port=app.config['REPLICA_PORT'],
+        charset='utf8'
     )
 
 
@@ -115,7 +116,8 @@
         db=app.config['DB_NAME'],
         user=app.config['DB_USER'],
         passwd=app.config['DB_PASSWORD'],
-        autocommit=True
+        autocommit=True,
+        charset='utf8'
     )
 
 

-- 
To view, visit https://gerrit.wikimedia.org/r/149652
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7988d282ca2a820b51cb66c4aefdd3c70e38543f
Gerrit-PatchSet: 1
Gerrit-Project: analytics/quarry/web
Gerrit-Branch: master
Gerrit-Owner: Yuvipanda <yuvipa...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to