diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2010-05-02 23:40:21 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2010-05-02 23:40:21 +0200 |
commit | 323d31514f7e438df5883ad6cb9e17cce6a296b3 (patch) | |
tree | 2efeb977154ca92b0c8a39fe958e91166aca68df /modules/mysql.py | |
parent | 88a78fa5d77a3db1024375fe4c0b654038604edb (diff) | |
download | curunir-323d31514f7e438df5883ad6cb9e17cce6a296b3.tar curunir-323d31514f7e438df5883ad6cb9e17cce6a296b3.zip |
Added topic module
Diffstat (limited to 'modules/mysql.py')
-rw-r--r-- | modules/mysql.py | 2 |
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') |