+ fixes
This commit is contained in:
5
gui.py
5
gui.py
@@ -89,10 +89,11 @@ while True:
|
|||||||
file_path = os.path.join(
|
file_path = os.path.join(
|
||||||
values["-JAVA FOLDER-"], #values["-JAVA FILE LIST-"][0]
|
values["-JAVA FOLDER-"], #values["-JAVA FILE LIST-"][0]
|
||||||
)
|
)
|
||||||
|
sg.popup_annoying('Succsessful created!' , title='Info')
|
||||||
|
|
||||||
except :
|
except :
|
||||||
print('No file selected')
|
print('No file selected')
|
||||||
sg.popup_annoying('Succsessful created!' , title='Info')
|
nassi(file_path, str(output_path))
|
||||||
nassi(file_path, output_path)
|
|
||||||
elif values['-JAVA FOLDER-']:
|
elif values['-JAVA FOLDER-']:
|
||||||
print('No Output')
|
print('No Output')
|
||||||
elif values['-OUTPUT FOLDER-']:
|
elif values['-OUTPUT FOLDER-']:
|
||||||
|
|||||||
@@ -5,4 +5,4 @@ from Iinstruction import *
|
|||||||
def nassi(filepath:str, output_path: str):
|
def nassi(filepath:str, output_path: str):
|
||||||
NSD = NassiShneidermanDiagram(False)
|
NSD = NassiShneidermanDiagram(False)
|
||||||
NSD.load_from_file(filepath)
|
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)
|
||||||
Reference in New Issue
Block a user