py3: Arch: some more fixes

This commit is contained in:
looooo 2017-01-17 12:08:16 +01:00
parent 2bc1162193
commit f3fb6762e8
2 changed files with 2 additions and 2 deletions

View File

@ -900,7 +900,7 @@ def makeCompoundFromSelected(objects=None):
Part.show(c)
def cleanArchSplitter(objecs=None):
def cleanArchSplitter(objects=None):
"""cleanArchSplitter([objects]): removes the splitters from the base shapes
of the given Arch objects or selected Arch objects if objects is None"""
import FreeCAD,FreeCADGui

View File

@ -59,7 +59,7 @@ def readPresets():
for profilefile in profilefiles:
if os.path.exists(profilefile):
try:
with open(profilefile, 'r') as csvfile:
with open(profilefile, 'rb') as csvfile:
beamreader = csv.reader(csvfile)
bid=1 #Unique index
for row in beamreader: