+ Fix syntax error (patch from Anton Gladky)

This commit is contained in:
wmayer 2013-09-28 15:57:02 +02:00
parent 00f46aadeb
commit 4487df35de

View File

@ -258,13 +258,13 @@ def export(exportList,filename):
oca.write("# edges\r\n")
count = 1
for e in edges:
if DraftGeomUtils.geomType(e) == "Line"):
if DraftGeomUtils.geomType(e) == "Line":
oca.write("L"+str(count)+"=")
oca.write(writepoint(e.Vertexes[0].Point))
oca.write(" ")
oca.write(writepoint(e.Vertexes[-1].Point))
oca.write("\r\n")
elif DraftGeomUtils.geomType(e) == "Circle"):
elif DraftGeomUtils.geomType(e) == "Circle":
if (len(e.Vertexes) > 1):
oca.write("C"+str(count)+"=ARC ")
oca.write(writepoint(e.Vertexes[0].Point))