This commit is contained in:
Kovid Goyal 2024-10-08 08:10:18 +05:30
parent 907f018c44
commit a003b0303d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -457,7 +457,7 @@ class Piper(TTSBackend):
return model_path, config_path
def is_voice_downloaded(self, v: Voice) -> bool:
if not v.name:
if not v or not v.name:
v = self._default_voice
for path in self._paths_for_voice(v):
if not os.path.exists(path):