Fixed issue while parsing enabled mods during subtitles download

pull/2270/head
morpheus65535 1 year ago
parent 85c65ecb5a
commit 225d79e569

@ -12,7 +12,7 @@ from subliminal_patch.core import save_subtitles
from subliminal_patch.core_persistent import download_best_subtitles
from subliminal_patch.score import ComputeScore
from app.config import settings, get_scores
from app.config import settings, get_scores, get_array_from
from app.database import TableEpisodes, TableMovies, database, select
from utilities.path_mappings import path_mappings
from utilities.helper import get_target_folder, force_unicode
@ -52,7 +52,7 @@ def generate_subtitles(path, languages, audio_language, sceneName, title, media_
minimum_score_movie = settings.general.minimum_score_movie
min_score, max_score, scores = _get_scores(media_type, minimum_score_movie, minimum_score)
subz_mods = settings.general.subzero_mods
subz_mods = get_array_from(settings.general.subzero_mods)
saved_any = False
if providers:

Loading…
Cancel
Save