fix: use english filename

This commit is contained in:
lanvent
2023-04-02 16:50:11 +08:00
parent 388058467c
commit 49ba278316
4 changed files with 4 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ class PyttsVoice(Voice):
def textToVoice(self, text):
try:
wavFile = TmpDir().path() + '语音回复_' + str(int(time.time())) + '.wav'
wavFile = TmpDir().path() + 'reply-' + str(int(time.time())) + '.wav'
self.engine.save_to_file(text, wavFile)
self.engine.runAndWait()
logger.info(