Tools: Small additional fix in fcinfo tool

This commit is contained in:
Yorik van Havre
2019-07-27 15:59:03 -03:00
parent b351c3da5a
commit 1919659fad

View File

@@ -108,7 +108,9 @@ class FreeCADFileHandler(xml.sax.ContentHandler):
self.contents[self.obj] += " (" + s + ")"
elif tag == "Property":
self.prop = attributes["name"]
self.prop = None
if attributes["name"] not in ["Symbol"]:
self.prop = attributes["name"]
elif tag in ["String","Uuid","Float","Integer","Bool","Link"]:
if self.prop and ("value" in attributes):