python: Path: *.py: Fix python3 syntax

This commit is contained in:
Priit Laes
2016-03-12 14:59:57 +02:00
committed by looooo
parent 8ed62e3965
commit 71f6a289c6
5 changed files with 21 additions and 21 deletions

View File

@@ -73,7 +73,7 @@ def export(selection,filename,argstring):
params = ['X','Y','Z','A','B','I','J','F','H','S','T','Q','R','L'] #Using XY plane most of the time so skipping K
for obj in selection:
if not hasattr(obj,"Path"):
print "the object " + obj.Name + " is not a path. Please select only path and Compounds."
print("the object " + obj.Name + " is not a path. Please select only path and Compounds.")
return
myMachine = None
for pathobj in selection: