Force system encoding to UTF8 to prevent errors like #66

pull/75/head
morpheus65535 7 years ago
parent f083807ef6
commit bd7bfa67cb

@ -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

Loading…
Cancel
Save