Navigation Menu

Skip to content

Commit

Permalink
corrected error occurring in list of None values of an odml element
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyuba Zehl committed Mar 7, 2015
1 parent 2119abd commit fb57935
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions odml/tools/xmlparser.py
Expand Up @@ -82,6 +82,7 @@ def save_element(e):

if isinstance(val, list):
for v in val:
if v is None: continue
ele = XMLWriter.save_element(v)
cur.append(ele)
else:
Expand Down

0 comments on commit fb57935

Please sign in to comment.