fix makedirs on save

This commit is contained in:
m957ymj75urz 2023-03-12 20:23:46 +01:00
parent 195d7aec9f
commit 70f9bd1408

View File

@ -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()