forked from 0x2620/pandora
cleanup settings
This commit is contained in:
parent
57b00a0bd4
commit
e7a0195b9d
1 changed files with 4 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue