Fix importer not working for notes

This commit is contained in:
2022-01-02 15:03:11 +00:00
parent 747575b968
commit 19e6585e26

View File

@@ -146,7 +146,7 @@ class Command(BaseCommand):
supervisor=supervisor supervisor=supervisor
) )
notes = child.find('{}_Notes'.format(depth)) notes = child.find('{}_Notes'.format(depth))
if notes: if notes is not None:
obj.notes = notes.text obj.notes = notes.text
obj.save() obj.save()
if created: if created: