Fix import user

This commit is contained in:
cuom1999 2021-07-28 18:03:07 -05:00
parent 6faf7a10bd
commit 3e41fba227

View file

@ -88,7 +88,9 @@ def import_users(users):
if added_orgs:
cur_log += 'Added to ' + ', '.join(added_orgs) + ' - '
user.email = row['email']
if row['email']:
user.email = row['email']
user.save()
profile.save()
cur_log += 'Saved\n'