[voice] fix issue

This commit is contained in:
wanggang
2023-03-07 23:33:25 +08:00
parent cc19017c01
commit 720ad07f83
2 changed files with 3 additions and 4 deletions

View File

@@ -40,7 +40,6 @@ class WechatChannel(Channel):
tmpFilePath = './tmp/'
def __init__(self):
voices = self.engine.getProperty('voices')
isExists = os.path.exists(self.tmpFilePath)
if not isExists:
os.makedirs(self.tmpFilePath)