def deleteImageCallback(self, answer): if answer: self.currentSelected = self["config"].l.getCurrentSelection() self.slot = self.currentSelected[0][1][0] print("[MultiBootSelector] delete self.slot = %s" % self.slot) emptySlot(self.slot) self.getImagelist()
def deleteImageCallback(self, answer): if answer: self.currentSelected = self["config"].l.getCurrentSelection() self.slot = self.currentSelected[0][1] if self.slot >= 12: self.slot -= 12 emptySlot(self.slot) self.getImagelist()