fix nattributes typo
This commit is contained in:
parent
38735466af
commit
cca8cd9fa9
1 changed files with 1 additions and 1 deletions
|
|
@ -1503,7 +1503,7 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase):
|
||||||
self.attributes.batch_add(*cdict["attributes"])
|
self.attributes.batch_add(*cdict["attributes"])
|
||||||
if cdict.get("nattributes"):
|
if cdict.get("nattributes"):
|
||||||
# this should be a dict of nattrname:value
|
# this should be a dict of nattrname:value
|
||||||
for key, value in cdict["nattributes"]:
|
for key, value in cdict["nattributes"].items():
|
||||||
self.nattributes.add(key, value)
|
self.nattributes.add(key, value)
|
||||||
|
|
||||||
del self._createdict
|
del self._createdict
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue