diff --git a/dusken/api/member.py b/dusken/api/member.py index 65cb965..508e497 100644 --- a/dusken/api/member.py +++ b/dusken/api/member.py @@ -82,7 +82,7 @@ class MemberResource(ModelResource): bundle.obj.set_password(bundle.data['password']) bundle.obj.save() - if 'address' in bundle.data: + if 'address' in bundle.data and bundle.data['address'] is not None: new_address = bundle.data.get('address') address = bundle.obj.address