Update TTS/TikTok.py

pull/1271/head
Simon 3 years ago committed by GitHub
parent 6d895906dc
commit 33b5b45567
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -156,6 +156,6 @@ class TikTokTTSException(Exception):
return f"Code: {self._message}, reason: the text is too long, message: {self._message}" return f"Code: {self._message}, reason: the text is too long, message: {self._message}"
if self._code == 4: if self._code == 4:
return f"Code: {self._message}, reason: the speaker doesn't exist, message: {self._message}" return f"Code: {self._code}, reason: the speaker doesn't exist, message: {self._message}"
return f"Code: {self._message}, reason: unknown, message: {self._message}" return f"Code: {self._message}, reason: unknown, message: {self._message}"

Loading…
Cancel
Save