개정판 13165df6
issue #000 fix load xml
Change-Id: I305583bfe8591fa3a1f2e4e982ee4b1da19337d4
DTI_PID/DTI_PID/Shapes/SymbolSvgItem.py | ||
---|---|---|
975 | 975 |
childSymbol = childSymbolNode.text |
976 | 976 |
|
977 | 977 |
ownerNode = node.find('OWNER') |
978 |
owner = ownerNode.text if ownerNode.text != 'None' else None |
|
978 |
owner = ownerNode.text if ownerNode is not None and ownerNode.text != 'None' else None
|
|
979 | 979 |
|
980 | 980 |
hasInstrumentLabelNode = node.find('HASINSTRUMENTLABEL') |
981 | 981 |
hasInstrumentLabel = hasInstrumentLabelNode.text if hasInstrumentLabelNode is not None else 'False' |
내보내기 Unified diff