Force system encoding to UTF8 to prevent errors like #66

This commit is contained in:
morpheus65535 2018-05-05 08:03:34 -04:00
parent f083807ef6
commit bd7bfa67cb
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@ gc.enable()
import os
import sys
reload(sys)
sys.setdefaultencoding('utf8')
sys.path.insert(0,os.path.join(os.path.dirname(__file__), 'libs/'))
import sqlite3