This commit is contained in:
oleting
2021-02-09 16:34:54 +01:00

View File

@@ -50,7 +50,7 @@ class NassiShneidermanDiagram:
if os.path.exists(filepath + ".png"): if os.path.exists(filepath + ".png"):
if behavoiur == OB.SKIP: if behavoiur == OB.SKIP:
return None return None
elif behavoiur == OB.OVERWWRITE: elif behavoiur == OB.OVERWRITE:
return filepath return filepath
else: else:
while os.path.exists(filepath+".png"): while os.path.exists(filepath+".png"):