PathScripts: py3 print

Draft: typo in importDXF.py
This commit is contained in:
looooo
2018-01-14 22:29:25 +01:00
committed by wmayer
parent 4fb16c6964
commit f3b32da633
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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())
+1 -1
View File
@@ -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..."