Skip to content

Commit

Permalink
fix: create tmpdir
Browse files Browse the repository at this point in the history
  • Loading branch information
lanvent committed Apr 9, 2023
1 parent 6bd1242 commit bf4ae9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/tmp_dir.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit bf4ae9a

Please sign in to comment.