mirror of
https://github.com/morpheus65535/bazarr
synced 2025-01-03 13:35:18 +00:00
Fixed issue introduced in upgrade process in beta.3
This commit is contained in:
parent
4341bdf36f
commit
16499fc674
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,7 @@ def upgrade_subtitles():
|
|||
'sonarrSeriesId': x.sonarrSeriesId,
|
||||
'subtitles_path': x.subtitles_path,
|
||||
'path': x.path,
|
||||
'profileId': x.profileId,
|
||||
'external_subtitles': [y[1] for y in ast.literal_eval(x.external_subtitles) if y[1]],
|
||||
'upgradable': bool(x.upgradable),
|
||||
} for x in database.execute(
|
||||
|
@ -135,6 +136,7 @@ def upgrade_subtitles():
|
|||
'score': x.score,
|
||||
'radarrId': x.radarrId,
|
||||
'path': x.path,
|
||||
'profileId': x.profileId,
|
||||
'subtitles_path': x.subtitles_path,
|
||||
'external_subtitles': [y[1] for y in ast.literal_eval(x.external_subtitles) if y[1]],
|
||||
'upgradable': bool(x.upgradable),
|
||||
|
|
Loading…
Reference in a new issue