This commit is contained in:
oleting
2020-12-22 22:00:21 +01:00
parent 17516ced50
commit 20d344f374
2 changed files with 5 additions and 4 deletions

5
gui.py
View File

@@ -89,10 +89,11 @@ while True:
file_path = os.path.join(
values["-JAVA FOLDER-"], #values["-JAVA FILE LIST-"][0]
)
sg.popup_annoying('Succsessful created!' , title='Info')
except :
print('No file selected')
sg.popup_annoying('Succsessful created!' , title='Info')
nassi(file_path, output_path)
nassi(file_path, str(output_path))
elif values['-JAVA FOLDER-']:
print('No Output')
elif values['-OUTPUT FOLDER-']:

View File

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