Skip to content

Commit

Permalink
py3: Material: print to python3
Browse files Browse the repository at this point in the history
taken from: 23fa650
author: kkremitzki

Update Arch,Fem,Material,Spreadsheet for py3 print
  • Loading branch information
looooo authored and wwmayer committed Feb 12, 2017
1 parent de89c2e commit d925db1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Mod/Material/MaterialEditor.py
Expand Up @@ -19,6 +19,7 @@
#* USA *
#* *
#***************************************************************************
from __future__ import print_function

import FreeCAD, FreeCADGui, os
from PySide import QtCore, QtGui, QtUiTools, QtSvg
Expand Down Expand Up @@ -248,7 +249,7 @@ def setTexture(self,pattern):
try:
import DrawingPatterns
except:
print "DrawingPatterns not found"
print("DrawingPatterns not found")
else:
pattern = DrawingPatterns.buildFileSwatch(pattern,size=96,png=True)
if pattern:
Expand Down

0 comments on commit d925db1

Please sign in to comment.