Skip to content

Commit

Permalink
Fixed issue while parsing enabled mods during subtitles download
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheus65535 committed Oct 17, 2023
1 parent 85c65ec commit 225d79e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bazarr/subtitles/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 225d79e

Please sign in to comment.