mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-11 01:07:36 +08:00
Enable automatic GC
This commit is contained in:
parent
08559e4167
commit
9d58610f5b
2 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
bazarr_version = '0.4.0'
|
bazarr_version = '0.4.0'
|
||||||
|
|
||||||
import gc
|
import gc
|
||||||
|
gc.enable()
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
sys.path.insert(0,os.path.join(os.path.dirname(__file__), 'libs/'))
|
sys.path.insert(0,os.path.join(os.path.dirname(__file__), 'libs/'))
|
||||||
|
|
|
@ -12,6 +12,8 @@ from itertools import islice
|
||||||
|
|
||||||
from get_general_settings import *
|
from get_general_settings import *
|
||||||
|
|
||||||
|
gc.enable()
|
||||||
|
|
||||||
def store_subtitles(file):
|
def store_subtitles(file):
|
||||||
languages = []
|
languages = []
|
||||||
actual_subtitles = []
|
actual_subtitles = []
|
||||||
|
|
Loading…
Reference in a new issue