+ gui fix output path

This commit is contained in:
oleting
2020-12-22 21:53:03 +01:00
parent a2a8a44efc
commit 17516ced50
2 changed files with 5 additions and 9 deletions

View File

@@ -2,7 +2,7 @@ from NassiShneidermann import NassiShneidermanDiagram
from Iinstruction import *
def nassi(filepath:str ):
def nassi(filepath:str, output_path: str):
NSD = NassiShneidermanDiagram(False)
NSD.load_from_file(filepath)
NSD.convert_to_image(filepath + "Nassi-Shneider-Diagramm", 500)
NSD.convert_to_image(output_path + "Nassi-Shneider-Diagramm", 500)