Update Path to py3-compatible printing
This commit is contained in:
@@ -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 = ""
|
||||
|
||||
Reference in New Issue
Block a user