diff options
author | morpheus65535 <[email protected]> | 2022-07-26 10:57:35 -0400 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2022-07-26 10:57:35 -0400 |
commit | 414900c24e082d0758b88f6117ddf09d954bdf44 (patch) | |
tree | ee1f32da9daddd1cc25039161f395e319ebaaea2 | |
parent | 8826b87c654bad72740042e22ff958388229c86d (diff) | |
download | bazarr-1.1.1-beta.7.tar.gz bazarr-1.1.1-beta.7.zip |
Fixed subtitles upgrade job trying to upgrade null scored subtitles. #1909v1.1.1-beta.7
-rw-r--r-- | bazarr/subtitles/upgrade.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bazarr/subtitles/upgrade.py b/bazarr/subtitles/upgrade.py index 4a4279c87..1f6bcb077 100644 --- a/bazarr/subtitles/upgrade.py +++ b/bazarr/subtitles/upgrade.py @@ -37,7 +37,7 @@ def upgrade_subtitles(): if settings.general.getboolean('use_sonarr'): upgradable_episodes_conditions = [(TableHistory.action << query_actions), (TableHistory.timestamp > minimum_timestamp), - (TableHistory.score is not None)] + (TableHistory.score.is_null(False))] upgradable_episodes_conditions += get_exclusion_clause('series') upgradable_episodes = TableHistory.select(TableHistory.video_path, TableHistory.language, |