#1834 - Bugfix when removing item in double nested maps
This commit is contained in:
parent
d86dcb2ee9
commit
71e86ab417
@ -204,8 +204,11 @@ class Item(BaseModel):
|
||||
|
||||
last_val = last_val[key_part]
|
||||
|
||||
last_val_type = list(last_val.keys())
|
||||
if last_val_type and last_val_type[0] == 'M':
|
||||
last_val['M'].pop(key_parts[-1], None)
|
||||
else:
|
||||
last_val.pop(key_parts[-1], None)
|
||||
self.attrs.pop(value, None)
|
||||
elif action == 'SET':
|
||||
key, value = value.split("=", 1)
|
||||
key = key.strip()
|
||||
|
Loading…
x
Reference in New Issue
Block a user