Commit 63e28835 by James Cammarata

Fix bug in way omitted values were set

parent 4c85ae07
......@@ -300,7 +300,7 @@ class Base:
# if this evaluated to the omit value, set the value back to
# the default specified in the FieldAttribute and move on
if omit_value is not None and value == omit_value:
value = attribute.default
setattr(self, name, attribute.default)
continue
# and make sure the attribute is of the type it should be
......
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