Ejemplo n.º 1
0
 def save_settings_and_close(self, callback=False):
     init_serviceapp_settings()
     if config_serviceapp.servicemp3.replace.value:
         serviceapp_client.setServiceMP3Replace(True)
     else:
         serviceapp_client.setServiceMP3Replace(False)
     self.saveAll()
     self.close(callback)
Ejemplo n.º 2
0
	def saveSettingsAndClose(self, callback=False):
		initServiceAppSettings()
		if configServiceApp.servicemp3.replace.value:
			serviceapp_client.setServiceMP3Replace(True)
		else:
			serviceapp_client.setServiceMP3Replace(False)
		self.saveAll()
		self.close(callback)