mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-25 01:02:19 +00:00
Bug correction
This commit is contained in:
parent
d5dd9098ae
commit
aad06f9461
1 changed files with 1 additions and 1 deletions
|
@ -79,13 +79,13 @@ def list_missing_subtitles(*no):
|
|||
|
||||
for episode_subtitles in episodes_subtitles:
|
||||
actual_subtitles = []
|
||||
actual_subtitles_list = []
|
||||
desired_subtitles = []
|
||||
missing_subtitles = []
|
||||
if episode_subtitles[1] != None:
|
||||
actual_subtitles = ast.literal_eval(episode_subtitles[1])
|
||||
if episode_subtitles[2] != None:
|
||||
desired_subtitles = ast.literal_eval(episode_subtitles[2])
|
||||
actual_subtitles_list = []
|
||||
for item in actual_subtitles:
|
||||
actual_subtitles_list.append(item[0])
|
||||
missing_subtitles = list(set(desired_subtitles) - set(actual_subtitles_list))
|
||||
|
|
Loading…
Reference in a new issue