def keySave(self):
     if self["config"].isChanged():
         for x in self["config"].list:
             x[1].save()
         configfile.save()
         from Components.ParentalControl import parentalControl
         parentalControl.hideBlacklist()
     self.close(self.recursive)
Пример #2
0
	def keySave(self):
		if self["config"].isChanged():
			for x in self["config"].list:
				x[1].save()
			configfile.save()
			from Components.ParentalControl import parentalControl
			parentalControl.hideBlacklist()
		self.close(self.recursive)