Changeset d74f23c in tiviwiki


Ignore:
Timestamp:
09/29/2013 05:09:54 PM (4 years ago)
Author:
awe <awe@…>
Branches:
master
Parents:
52c5a2d
git-author:
awe <awe@…> (09/29/2013 05:09:54 PM)
git-committer:
awe <awe@…> (09/29/2013 05:09:54 PM)
Message:

Fix potential UnicodeDecodeError from the database (thx UfoX for the bug
report)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tiviwiki/database.py

    rff13e83 rd74f23c  
    77                           user=app.config['DATABASE_USER'],
    88                           passwd=app.config['DATABASE_PASS'],
    9                            db=app.config['DATABASE'])
     9                           db=app.config['DATABASE'],
     10                           charset='utf8',
     11                           use_unicode=True)
    1012
    1113@app.before_request
Note: See TracChangeset for help on using the changeset viewer.