fixed mistake in code_to_image.py @plexx-dev

This commit is contained in:
weckyy702
2020-12-22 22:00:55 +01:00
parent 17516ced50
commit f1cf2d9f40
2 changed files with 5 additions and 3 deletions

View File

@@ -5,4 +5,7 @@ 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)
if __name__ == "__main__":
nassi("input.java", "res/ouput/")