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

View File

@@ -1,2 +1,3 @@
# we need to explicitly expose the available imports here
from .gworksheet import GWorksheet
from .gworksheet import GWorksheet
from .misc import *

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)