fix: create tmpdir

This commit is contained in:
lanvent
2023-04-09 17:37:19 +08:00
parent 6bd1242d43
commit bf4ae9a051

View File

@@ -12,7 +12,7 @@ class TmpDir(object):
def __init__(self):
pathExists = os.path.exists(self.tmpFilePath)
if not pathExists and conf().get('speech_recognition') == True:
if not pathExists:
os.makedirs(self.tmpFilePath)
def path(self):