mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-25 17:17:12 +00:00
Fixed subtitles upgrade job trying to upgrade null scored subtitles. #1909
This commit is contained in:
parent
8826b87c65
commit
414900c24e
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue