diff --git a/pandora/user/views.py b/pandora/user/views.py index f8fbd294f..6767898be 100644 --- a/pandora/user/views.py +++ b/pandora/user/views.py @@ -459,7 +459,10 @@ def setUI(request): if key not in p: p[key] = {} p = p[key] - p[keys[0]] = value + if value == None: + del p[keys[0]] + else: + p[keys[0]] = value profile.save() if data.get('item', False):