Enable automatic GC

This commit is contained in:
morpheus65535 2018-03-28 16:33:29 -04:00
parent 08559e4167
commit 9d58610f5b
2 changed files with 4 additions and 0 deletions

View file

@ -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/'))

View file

@ -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 = []