+ fix wrong output folder

This commit is contained in:
oleting
2020-12-27 19:21:16 +01:00
parent 7762ffdae4
commit 7f7c210c64
5 changed files with 20 additions and 15 deletions

View File

@@ -116,6 +116,6 @@ def draw_while_loop_back(condition: str, x: int, y: int, xsize: int, ysize: int)
#the x, y offset then the x,y draw size (the canvas)
return x + xsize * .1, y, xsize * .9
def NSD_save(filename: str):
def NSD_save(filepath: str, filename: str):
"""Save the created file"""
img.save(filename + datei_endung ,"PNG")
img.save(filepath + '/' + filename + datei_endung ,"PNG")