Skip to content

Commit

Permalink
Fixed subtitles upgrade job trying to upgrade null scored subtitles (…
Browse files Browse the repository at this point in the history
…part 2). #1909
  • Loading branch information
morpheus65535 committed Jul 28, 2022
1 parent 0d12bcb commit ba1687a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bazarr/subtitles/upgrade.py
Expand Up @@ -86,7 +86,7 @@ def upgrade_subtitles():
if settings.general.getboolean('use_radarr'):
upgradable_movies_conditions = [(TableHistoryMovie.action << query_actions),
(TableHistoryMovie.timestamp > minimum_timestamp),
(TableHistoryMovie.score is not None)]
(TableHistoryMovie.score.is_null(False))]
upgradable_movies_conditions += get_exclusion_clause('movie')
upgradable_movies = TableHistoryMovie.select(TableHistoryMovie.video_path,
TableHistoryMovie.language,
Expand Down

0 comments on commit ba1687a

Please sign in to comment.