[已解决]Flask中app.logger.debug出错:UnicodeEncodeError ascii codec can’t encode characters in position 59-68: ordinal not in range(128)
crifan 8年前 (2016-08-24) 4256浏览 0评论
之前用Flask的logger的debug函数: currentEvents= Event.query.all() app.logger.debug(‘currentEvents=%s’, currentEvents) ...