From 121a741747cf98c681704054fea1094998db7d61 Mon Sep 17 00:00:00 2001 From: weckyy702 Date: Sun, 27 Dec 2020 17:25:18 +0100 Subject: [PATCH] added ability to change output filename --- gui/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/utils.py b/gui/utils.py index d9ccc2a..a205259 100644 --- a/gui/utils.py +++ b/gui/utils.py @@ -9,7 +9,7 @@ def nassi(filepath:str, output_path: str, gui, font_filepath: str=None): if font_filepath: NSD.set_font(font_filepath) NSD.load_from_file(filepath) - NSD.convert_to_image(output_path + "/Nassi-Shneider-Diagramm", 500) + NSD.convert_to_image(output_path, 500) def output(values): output_path = values['-OUTPUT FOLDER-']