summaryrefslogtreecommitdiffstats
path: root/modules/mysql.py
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2010-05-02 23:40:21 +0200
committerMatthias Schiffer <matthias@gamezock.de>2010-05-02 23:40:21 +0200
commit323d31514f7e438df5883ad6cb9e17cce6a296b3 (patch)
tree2efeb977154ca92b0c8a39fe958e91166aca68df /modules/mysql.py
parent88a78fa5d77a3db1024375fe4c0b654038604edb (diff)
downloadcurunir-323d31514f7e438df5883ad6cb9e17cce6a296b3.tar
curunir-323d31514f7e438df5883ad6cb9e17cce6a296b3.zip
Added topic module
Diffstat (limited to 'modules/mysql.py')
-rw-r--r--modules/mysql.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mysql.py b/modules/mysql.py
index 3b6c3b1..2db2817 100644
--- a/modules/mysql.py
+++ b/modules/mysql.py
@@ -7,4 +7,4 @@ class Module(ModuleBase):
conf = manager.config['mysql']
- self.db = MySQLdb.connect(host = conf['host'], user = conf['user'], passwd = conf['passwd'], db = conf['db'])
+ self.db = MySQLdb.connect(host = conf['host'], user = conf['user'], passwd = conf['passwd'], db = conf['db'], use_unicode = True, charset = 'utf8')