creates tmp folder if not exists

This commit is contained in:
msramalho
2022-02-23 16:32:38 +01:00
parent 1d62009c4f
commit 3cafc444fc
5 changed files with 11 additions and 5 deletions

5
utils/misc.py Normal file
View File

@@ -0,0 +1,5 @@
import os
def mkdir_if_not_exists(folder):
if not os.path.exists(folder):
os.mkdir(folder)