cleanup settings

This commit is contained in:
j 2011-08-25 18:12:36 +02:00
parent 6893563eca
commit 96bd8bb43f

View file

@ -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):