Fixed issue while parsing enabled mods during subtitles download

This commit is contained in:
morpheus65535 2023-10-17 08:36:12 -04:00
parent 85c65ecb5a
commit 225d79e569
1 changed files with 2 additions and 2 deletions

View File

@ -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: