summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2024-10-14 21:55:58 -0400
committermorpheus65535 <[email protected]>2024-10-14 21:55:58 -0400
commit16499fc674b2a6aef7eab0bf07ff95e786c9afbd (patch)
tree442f6e1905c42b4450cc4d8bb8e3f1da3cd84e2b
parent4341bdf36f3b3d4f53017f536445fd9f01b32afb (diff)
downloadbazarr-16499fc674b2a6aef7eab0bf07ff95e786c9afbd.tar.gz
bazarr-16499fc674b2a6aef7eab0bf07ff95e786c9afbd.zip
Fixed issue introduced in upgrade process in beta.3v1.4.6-beta.4
-rw-r--r--bazarr/subtitles/upgrade.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bazarr/subtitles/upgrade.py b/bazarr/subtitles/upgrade.py
index a78ca950d..d094d7caa 100644
--- a/bazarr/subtitles/upgrade.py
+++ b/bazarr/subtitles/upgrade.py
@@ -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),