Skip to content

Commit ff022fc

Browse files
maybe fix NodeWalker.find_value()
1 parent 371b0b1 commit ff022fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/atmst/mst/node_walker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def find_value(self, key: str) -> Optional[CID]:
143143
while True:
144144
while self.rpath < key:
145145
self.right()
146-
if not self.subtree:
146+
if self.rpath == key or not self.subtree:
147147
break
148148
self.down()
149149
if self.rpath != key:

0 commit comments

Comments
 (0)