Commit 1f3680bb authored by zerox1212's avatar zerox1212 Committed by ORD

Exporter fix to allow exporting values of 0

Can't check 'not val' because variable nodes with a value of 0.0 don't
get exported.
parent 0a8e74bd
......@@ -368,7 +368,7 @@ def value_to_etree(el, dtype_name, dtype, node):
def _value_to_etree(el, type_name, dtype, val):
if not val:
if val is None:
return
if isinstance(val, (list, tuple)):
if dtype.Identifier > 21: # this is an extentionObject:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment