Assume null if NB person tags are empty

This commit is contained in:
Lance Edgar 2023-09-12 21:33:41 -05:00
parent 20a16d5d9d
commit 2f47bbff9b

View file

@ -119,6 +119,8 @@ class NationBuilderCachePersonImporter(FromNationBuilder, nationbuilder_importin
tags = data['tags']
if tags:
data['tags'] = self.config.make_list_string(tags)
else:
data['tags'] = None
if self.fields_active(self.primary_address_fields):
address = person.get('primary_address')