Assume null if NB person tags are empty
This commit is contained in:
parent
20a16d5d9d
commit
2f47bbff9b
|
@ -119,6 +119,8 @@ class NationBuilderCachePersonImporter(FromNationBuilder, nationbuilder_importin
|
||||||
tags = data['tags']
|
tags = data['tags']
|
||||||
if tags:
|
if tags:
|
||||||
data['tags'] = self.config.make_list_string(tags)
|
data['tags'] = self.config.make_list_string(tags)
|
||||||
|
else:
|
||||||
|
data['tags'] = None
|
||||||
|
|
||||||
if self.fields_active(self.primary_address_fields):
|
if self.fields_active(self.primary_address_fields):
|
||||||
address = person.get('primary_address')
|
address = person.get('primary_address')
|
||||||
|
|
Loading…
Reference in a new issue