Skip to content
Permalink
Browse files

py3: Material: print to python3

taken from: 23fa650
author: kkremitzki

Update Arch,Fem,Material,Spreadsheet for py3 print
  • Loading branch information...
looooo authored and wwmayer committed Feb 11, 2017
1 parent de89c2e commit d925db17af629e47154112a4acb6226c86dfce3b
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/Mod/Material/MaterialEditor.py
@@ -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 @@ 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:

0 comments on commit d925db1

Please sign in to comment.
You can’t perform that action at this time.