+ fix global logging

This commit is contained in:
oleting
2020-12-26 14:42:27 +01:00
parent de96db0806
commit 781fc6fe83
3 changed files with 4 additions and 5 deletions

View File

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