Skip to content

Commit

Permalink
Fixed a error when installing voices with no model_card
Browse files Browse the repository at this point in the history
  • Loading branch information
mush42 committed May 29, 2023
1 parent 537f53d commit 1dffb2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/synthDrivers/piper_neural_voices/tts_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def install_voice(cls, voice_archive_path, dest_dir):
tar.extract(m_model_config, path=os.fspath(dst), set_attrs=False)
try:
m_model_card = next(m for m in members if m.name.endswith("MODEL_CARD"))
except stopIteration:
except StopIteration:
pass
else:
tar.extract(m_model_card, path=os.fspath(dst), set_attrs=False)
Expand Down

0 comments on commit 1dffb2c

Please sign in to comment.