From 8ceaca3c114de57e6045b6f05e3e7082a9a72c26 Mon Sep 17 00:00:00 2001 From: Martastain Date: Tue, 3 Sep 2024 09:46:06 +0200 Subject: [PATCH] fix: migrate to the same bundle --- api/bundles/migration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/bundles/migration.py b/api/bundles/migration.py index 17047f25..46c1c90c 100644 --- a/api/bundles/migration.py +++ b/api/bundles/migration.py @@ -31,7 +31,7 @@ async def _get_bundles_addons( for row in res: if row["name"] == source_bundle: source_addons = row["data"].get("addons", {}) - elif row["name"] == target_bundle: + if row["name"] == target_bundle: target_addons = row["data"].get("addons", {}) if not source_addons: