diff --git a/nodes.py b/nodes.py index d7708e34..7a37342f 100644 --- a/nodes.py +++ b/nodes.py @@ -809,7 +809,7 @@ class SaveImage: except ValueError: counter = 1 except FileNotFoundError: - os.mkdir(outputDirectory) + os.makedirs(outputDirectory, exist_ok=True) counter = 1 paths = list()