def set_sound(self, value): if value: self.sound_toggle.text = _("YES") else: self.sound_toggle.text = _("NO") mixer.set_sound(value)
def set_sound(self, value): mixer.set_sound(value)