A broken voice is the same as a non-existent voice as far as we're concerned and no synth currently raises LookupError anyway.
voice=c.get("voice",None)\r
try:\r
changeVoice(self,voice)\r
- except LookupError:\r
- log.warning("No such voice: %s" % voice)\r
+ except:\r
+ log.warning("Invalid voice: %s" % voice)\r
# Update the configuration with the correct voice.\r
c["voice"]=self.voice\r
# We need to call changeVoice here so that required initialisation can be performed.\r