Skip to content

Commit

Permalink
[FlashImage] - if rejecting usb images then deselect all (#3995)
Browse files Browse the repository at this point in the history
(cherry picked from commit 164ecb08ccb353069c118c2a6983ffaa5e0f856c)
  • Loading branch information
TwolDE2 authored and teamblue-e2 committed May 31, 2024
1 parent 6e4c91c commit b559074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/Screens/FlashImage.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def confirmation(self):
imagesList = getImagelist()
currentimageslot = getCurrentImage()
choices = []
slotdict = {k: v for k, v in BoxInfo.getItem("canMultiBoot").items() if not v['device'].startswith('/dev/sda')}
slotdict = {k: v for k, v in BoxInfo.getItem("canMultiBoot").items() if not v['device'].startswith('/dev/sd')}
for x in range(1, len(slotdict) + 1):
choices.append(((_("slot%s - %s (current image)") if x == currentimageslot else _("slot%s - %s")) % (x, imagesList[x]['imagename']), (x, "with backup") if getImageDistro() in self.imagename else (x, "without backup")))
if "://" in self.source:
Expand Down

0 comments on commit b559074

Please sign in to comment.