Exemple #1
0
	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()
Exemple #2
0
 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()