undo
This commit is contained in:
parent
687738ff46
commit
4512b010c6
7 changed files with 31 additions and 53 deletions
|
|
@ -785,7 +785,7 @@ def setUI(request, data):
|
|||
if isinstance(p, list):
|
||||
p = p[getPositionById(p, key)]
|
||||
else:
|
||||
if key not in p or not isinstance(p[key], dict):
|
||||
if key not in p:
|
||||
p[key] = {}
|
||||
p = p[key]
|
||||
if value == None and keys[0] in p:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue