mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-02-12 17:03:59 +08:00
Force system encoding to UTF8 to prevent errors like #66
This commit is contained in:
parent
f083807ef6
commit
bd7bfa67cb
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue