Skip to content

Commit

Permalink
Update voicevox_engine/user_dict/model.py
Browse files Browse the repository at this point in the history
Co-authored-by: Copilot <[email protected]>
  • Loading branch information
takana-v and Copilot authored Feb 6, 2025
1 parent 8cee17f commit 3d73c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion voicevox_engine/user_dict/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def _check_newlines_and_null(text: str) -> str:
if "\n" in text or "\r" in text:
raise ValueError("ユーザー辞書データ内に改行が含まれています。")
if "\x00" in text:
raise ValueError("ユーザー辞書データ内にNull文字が含まれています。")
raise ValueError("ユーザー辞書データ内にnull文字が含まれています。")
return text


Expand Down

0 comments on commit 3d73c1c

Please sign in to comment.