organize code

This commit is contained in:
oleting
2020-12-27 20:36:35 +01:00
parent 7552c31ccf
commit 8a529cbe83
5 changed files with 49 additions and 46 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(filepath: str, filename: str):
def NSD_save(filepath: str):
"""Save the created file"""
img.save(filepath + '/' + filename + datei_endung ,"PNG")
img.save(filepath + datei_endung ,"PNG")