Commit e089c61a authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Fix migrating non-members, do not give them a membership object

parent 551fb87c
......@@ -169,7 +169,9 @@ class Command(BaseCommand):
membership.type = 'member'
if member['membership_type'] == 'Honorary Member':
membership.type = 'honorary'
if membership.type is not None and membership.type != '':
for membership in member['memberships']:
mdata = membership['membership']
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment