stko
stko copied to clipboard
Use recursive mkdir in optimisers to avoid crash
os.mkdir
does not recursively build all missing directories in a given path. So if a parent directory is missing in the output_dir
argument, this will crash.
Solution is to use a recursive equivalent to mkdir
.