Bugfix. exit ist eine funktion
This commit is contained in:
+2
-2
@@ -88,10 +88,10 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
if not os.path.exists(jpath):
|
if not os.path.exists(jpath):
|
||||||
print("file %s does not exit", jpath)
|
print("file %s does not exit", jpath)
|
||||||
exit
|
exit()
|
||||||
if not os.path.exists(dxf_path):
|
if not os.path.exists(dxf_path):
|
||||||
print("file %s does not exit", dxf_path)
|
print("file %s does not exit", dxf_path)
|
||||||
exit
|
exit()
|
||||||
|
|
||||||
basename = os.path.splitext(dxf_path)[0]
|
basename = os.path.splitext(dxf_path)[0]
|
||||||
timestamp = datetime.now().strftime(basename+"_%Y%m%d-%H%M%S.dxf")
|
timestamp = datetime.now().strftime(basename+"_%Y%m%d-%H%M%S.dxf")
|
||||||
|
|||||||
Reference in New Issue
Block a user