Update Path to py3-compatible printing

This commit is contained in:
Kurt Kremitzki
2017-01-29 22:11:45 -06:00
committed by looooo
parent 32bacd0b63
commit e47edae9c3
23 changed files with 92 additions and 77 deletions

View File

@@ -620,7 +620,7 @@ def addToJob(obj, jobname = None):
if r is False:
return None
else:
print form.cboProject.currentText()
print(form.cboProject.currentText())
job = [i for i in jobs if i.Name == form.cboProject.currentText()][0]
g = job.Group
@@ -690,7 +690,7 @@ def arc(cx, cy, sx, sy, ex, ey, horizFeed=0, ez=None, ccw=False):
eps = 0.01
if (math.sqrt((cx - sx)**2 + (cy - sy)**2) - math.sqrt((cx - ex)**2 + (cy - ey)**2)) >= eps:
print "ERROR: Illegal arc: Start and end radii not equal"
print("ERROR: Illegal arc: Start and end radii not equal")
return ""
retstr = ""