diff --git a/lib/python/Plugins/SystemPlugins/SoftwareManager/ImageBackup.py b/lib/python/Plugins/SystemPlugins/SoftwareManager/ImageBackup.py index 6a1c89380a8..9c1af03ae94 100644 --- a/lib/python/Plugins/SystemPlugins/SoftwareManager/ImageBackup.py +++ b/lib/python/Plugins/SystemPlugins/SoftwareManager/ImageBackup.py @@ -110,6 +110,7 @@ def ImageList(self, imagedict): imageList.append(ChoiceEntryComponent("", (_("Internal flash: %s %s as USB Recovery") % (DISTRO, DISTROVERSION), "slotCode", True))) imageList.append(ChoiceEntryComponent("", (_("Internal flash: %s %s ") % (DISTRO, DISTROVERSION), "slotCode", False))) self["config"].setList(imageList) + index = 0 for index, item in enumerate(imageList): if item[0][1] == str(currentImageSlot): break