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")