|
|
@ -5,14 +5,17 @@ gc.enable()
|
|
|
|
|
|
|
|
|
|
|
|
from get_argv import config_dir, no_update
|
|
|
|
from get_argv import config_dir, no_update
|
|
|
|
|
|
|
|
|
|
|
|
from bazarr import shutdown_bazarr, restart_bazarr
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import os
|
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
import sys
|
|
|
|
reload(sys)
|
|
|
|
reload(sys)
|
|
|
|
sys.setdefaultencoding('utf8')
|
|
|
|
sys.setdefaultencoding('utf8')
|
|
|
|
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../libs/'))
|
|
|
|
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../libs/'))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import os
|
|
|
|
|
|
|
|
import sys
|
|
|
|
|
|
|
|
sys.path.insert(1, os.path.join(sys.path[0], '..'))
|
|
|
|
|
|
|
|
from bazarr import shutdown_bazarr, restart_bazarr
|
|
|
|
|
|
|
|
|
|
|
|
import sqlite3
|
|
|
|
import sqlite3
|
|
|
|
from init import *
|
|
|
|
from init import *
|
|
|
|
from update_db import *
|
|
|
|
from update_db import *
|
|
|
|