Merge branch 'fs#156-dbapi-charset' into develop
This commit is contained in:
@@ -51,7 +51,8 @@ url = URL( "mysql+pymysql",
|
|||||||
password=config.db_password,
|
password=config.db_password,
|
||||||
host=config.db_hostname,
|
host=config.db_hostname,
|
||||||
port=config.db_port,
|
port=config.db_port,
|
||||||
database=config.db_username + jogobot.config['db_suffix'] )
|
database=config.db_username + jogobot.config['db_suffix'],
|
||||||
|
query={'charset': 'utf8'} )
|
||||||
|
|
||||||
engine = create_engine(url, echo=True)
|
engine = create_engine(url, echo=True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user