PathScripts: py3 print
Draft: typo in importDXF.py
This commit is contained in:
@@ -1547,7 +1547,7 @@ def open(filename):
|
||||
getDXFlibs()
|
||||
if dxfReader:
|
||||
docname = os.path.splitext(os.path.basename(filename))[0]
|
||||
if sys.version_info.major < 3
|
||||
if sys.version_info.major < 3:
|
||||
if isinstance(docname,unicode):
|
||||
import sys #workaround since newDocument currently can't handle unicode filenames
|
||||
docname = docname.encode(sys.getfilesystemencoding())
|
||||
|
||||
@@ -146,7 +146,7 @@ def export(objectslist,filename,argstring):
|
||||
|
||||
for obj in objectslist:
|
||||
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
|
||||
|
||||
print "postprocessing..."
|
||||
|
||||
Reference in New Issue
Block a user