From bf4ae9a0515a75197111677921d12eaa802665a4 Mon Sep 17 00:00:00 2001 From: lanvent Date: Sun, 9 Apr 2023 17:37:19 +0800 Subject: [PATCH] fix: create tmpdir --- common/tmp_dir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/tmp_dir.py b/common/tmp_dir.py index 1738022..63f56eb 100644 --- a/common/tmp_dir.py +++ b/common/tmp_dir.py @@ -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):