mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-04-24 06:37:16 -04:00
Fix for Linux
This commit is contained in:
parent
3008c7a746
commit
56226f941d
1 changed files with 5 additions and 2 deletions
|
@ -5,14 +5,17 @@ gc.enable()
|
|||
|
||||
from get_argv import config_dir, no_update
|
||||
|
||||
from bazarr import shutdown_bazarr, restart_bazarr
|
||||
|
||||
import os
|
||||
import sys
|
||||
reload(sys)
|
||||
sys.setdefaultencoding('utf8')
|
||||
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
|
||||
from init import *
|
||||
from update_db import *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue