py3: Material: print to python3
taken from: 23fa650261ed346b2c5a6216b7720b87e063b27d author: kkremitzki Update Arch,Fem,Material,Spreadsheet for py3 print
This commit is contained in:
parent
de89c2e178
commit
d925db17af
|
@ -19,6 +19,7 @@
|
|||
#* USA *
|
||||
#* *
|
||||
#***************************************************************************
|
||||
from __future__ import print_function
|
||||
|
||||
import FreeCAD, FreeCADGui, os
|
||||
from PySide import QtCore, QtGui, QtUiTools, QtSvg
|
||||
|
@ -248,7 +249,7 @@ class MaterialEditor:
|
|||
try:
|
||||
import DrawingPatterns
|
||||
except:
|
||||
print "DrawingPatterns not found"
|
||||
print("DrawingPatterns not found")
|
||||
else:
|
||||
pattern = DrawingPatterns.buildFileSwatch(pattern,size=96,png=True)
|
||||
if pattern:
|
||||
|
|
Loading…
Reference in New Issue
Block a user