Skip to content

Commit

Permalink
Arch: ifc properties, Py3 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed Apr 30, 2019
1 parent 3f42ee7 commit a733dc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Arch/ArchComponent.py
Expand Up @@ -1191,7 +1191,7 @@ def editIfcProperties(self):
import Arch_rc, csv, os, ArchIFCSchema

# get presets
self.ptypes = ArchIFCSchema.IfcTypes.keys()
self.ptypes = list(ArchIFCSchema.IfcTypes.keys())
self.plabels = [''.join(map(lambda x: x if x.islower() else " "+x, t[3:]))[1:] for t in self.ptypes]
self.psetdefs = {}
psetspath = os.path.join(FreeCAD.getResourceDir(),"Mod","Arch","Presets","pset_definitions.csv")
Expand Down

0 comments on commit a733dc6

Please sign in to comment.