mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-26 01:27:07 +00:00
Fixed subtitles upgrade job trying to upgrade null scored subtitles (part 2). #1909
This commit is contained in:
parent
0d12bcb39e
commit
ba1687a478
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ def upgrade_subtitles():
|
||||||
if settings.general.getboolean('use_radarr'):
|
if settings.general.getboolean('use_radarr'):
|
||||||
upgradable_movies_conditions = [(TableHistoryMovie.action << query_actions),
|
upgradable_movies_conditions = [(TableHistoryMovie.action << query_actions),
|
||||||
(TableHistoryMovie.timestamp > minimum_timestamp),
|
(TableHistoryMovie.timestamp > minimum_timestamp),
|
||||||
(TableHistoryMovie.score is not None)]
|
(TableHistoryMovie.score.is_null(False))]
|
||||||
upgradable_movies_conditions += get_exclusion_clause('movie')
|
upgradable_movies_conditions += get_exclusion_clause('movie')
|
||||||
upgradable_movies = TableHistoryMovie.select(TableHistoryMovie.video_path,
|
upgradable_movies = TableHistoryMovie.select(TableHistoryMovie.video_path,
|
||||||
TableHistoryMovie.language,
|
TableHistoryMovie.language,
|
||||||
|
|
Loading…
Reference in a new issue