diff --git a/src/base/bt/file.py b/src/base/bt/file.py index 9919590a..0ab3a250 100644 --- a/src/base/bt/file.py +++ b/src/base/bt/file.py @@ -21,6 +21,12 @@ def checkPath(path): return os.path.exists(path) +def mkdir(path): + if checkDir(path)==False: + write("Creating directory: "+path) + os.mkdir(path) + + def expandPath(path): return os.path.expanduser(path)