From 0ec8955a0bb10e51a86c6a32ead65a2db2604114 Mon Sep 17 00:00:00 2001 From: mistangl Date: Wed, 7 May 2025 17:50:16 +0200 Subject: [PATCH] Bugfix. exit ist eine funktion --- lib/drawdxf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/drawdxf.py b/lib/drawdxf.py index b407244..41ebe26 100644 --- a/lib/drawdxf.py +++ b/lib/drawdxf.py @@ -88,10 +88,10 @@ if __name__ == '__main__': if not os.path.exists(jpath): print("file %s does not exit", jpath) - exit + exit() if not os.path.exists(dxf_path): print("file %s does not exit", dxf_path) - exit + exit() basename = os.path.splitext(dxf_path)[0] timestamp = datetime.now().strftime(basename+"_%Y%m%d-%H%M%S.dxf")