Skip to content
Snippets Groups Projects
Unverified Commit c88de236 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fix logic for is_active.

parent 31024c93
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ def schild_import_csv_single(request, csv, cols, converters):
all_ok = True
for person_row in persons.transpose().to_dict().values():
if person_row['is_active']:
if 'is_active' not in person_row or person_row['is_active']:
try:
person, created = Person.objects.get_or_create(
import_ref=person_row['import_ref'], defaults=person_row)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment