Fix empty and zero values parsing part 2
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
parent
8dcfae5cb2
commit
675183cd9a
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ class LoadParams:
|
|||
fields_with_data = [
|
||||
MetaField(field.metadata, getattr(instance, field.name))
|
||||
for field in data_fields
|
||||
if field.metadata and getattr(instance, field.name)
|
||||
if field.metadata and getattr(instance, field.name) is not None
|
||||
]
|
||||
|
||||
for field in data_fields:
|
||||
|
|
Loading…
Reference in a new issue