Fix import user
This commit is contained in:
parent
6faf7a10bd
commit
3e41fba227
1 changed files with 3 additions and 1 deletions
|
@ -88,7 +88,9 @@ def import_users(users):
|
||||||
if added_orgs:
|
if added_orgs:
|
||||||
cur_log += 'Added to ' + ', '.join(added_orgs) + ' - '
|
cur_log += 'Added to ' + ', '.join(added_orgs) + ' - '
|
||||||
|
|
||||||
user.email = row['email']
|
if row['email']:
|
||||||
|
user.email = row['email']
|
||||||
|
|
||||||
user.save()
|
user.save()
|
||||||
profile.save()
|
profile.save()
|
||||||
cur_log += 'Saved\n'
|
cur_log += 'Saved\n'
|
||||||
|
|
Loading…
Reference in a new issue