Skip to content

Commit 7ee3540

Browse files
Dima73WanWizard
authored andcommitted
[FlashImage] don't show "Recovery" for gbquad4kpro
-since this menu doesn't exist (yet?)
1 parent f3bf083 commit 7ee3540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/python/Screens/FlashImage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ def getImagesList(self):
551551
recovery_booted = fileHas("/proc/cmdline", "rootsubdir=linuxrootfs0")
552552
self["description"].setText(_("Attention - forced loading recovery image!\nCreate an empty STARTUP_RECOVERY file at the root of your HDD/USB drive and hold the Power button for more than 12 seconds for reboot receiver!"))
553553
list.append(ChoiceEntryComponent('', (_("Boot to Recovery image - slot0 %s") % (recovery_booted and _("(current image)") or ""), "Recovery")))
554-
else:
554+
elif BoxInfo.getItem("model") != "gbquad4kpro":
555555
list.append(ChoiceEntryComponent('', (_("Boot to Recovery menu"), "Recovery")))
556556
if os.path.isfile(os.path.join(self.tmp_dir, "STARTUP_ANDROID")):
557557
list.append(ChoiceEntryComponent('', ((_("Boot to Android image")), "Android")))

0 commit comments

Comments
 (0)