Quiet PEP8
parent
de818db9cb
commit
a76c3a6e7a
|
@ -516,7 +516,7 @@ class SkillSettings(dict):
|
|||
path = \
|
||||
"/" + self._device_identity + "/userSkill?identifier=" + identifier
|
||||
try:
|
||||
user_skill = self.api.request({ "method": "GET", "path": path })
|
||||
user_skill = self.api.request({"method": "GET", "path": path})
|
||||
except RequestException:
|
||||
# Some kind of Timeout, connection HTTPError, etc.
|
||||
user_skill = None
|
||||
|
|
|
@ -295,7 +295,7 @@ class Mimic2(TTS):
|
|||
f.write(audio)
|
||||
except (ReadTimeout, ConnectionError, ConnectTimeout, HTTPError):
|
||||
raise RemoteTTSTimeoutException(
|
||||
"Mimic 2 server request timed out. Falling back to mimic" )
|
||||
"Mimic 2 server request timed out. Falling back to mimic")
|
||||
return (wav_file, vis)
|
||||
|
||||
def save_phonemes(self, key, phonemes):
|
||||
|
|
Loading…
Reference in New Issue