diff --git a/bazarr.py b/bazarr.py index 8def7eea0..c93e88cc4 100644 --- a/bazarr.py +++ b/bazarr.py @@ -1,6 +1,8 @@ bazarr_version = '0.4.0' import gc +gc.enable() + import os import sys sys.path.insert(0,os.path.join(os.path.dirname(__file__), 'libs/')) diff --git a/list_subtitles.py b/list_subtitles.py index fb099fcf9..41a6b0f7b 100644 --- a/list_subtitles.py +++ b/list_subtitles.py @@ -12,6 +12,8 @@ from itertools import islice from get_general_settings import * +gc.enable() + def store_subtitles(file): languages = [] actual_subtitles = []