adt.py: Fix typo

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2021-05-06 23:36:29 +09:00
parent f1cc65f6c0
commit c6965acc75

View file

@ -101,7 +101,7 @@ class ADTNode:
def __setitem__(self, item, value):
if isinstance(item, str):
for i, c in enumeate(self._children):
for i, c in enumerate(self._children):
if c.name == item:
self._children[i] = value
break