Skip to content

Commit 3f2bec3

Browse files
committed
Vision example hotfix
1 parent f5c421d commit 3f2bec3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/api/vision/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Example
151151
print("no cubes :(")
152152
sys.exit()
153153
154-
nearest = tokens[0] # Find the nearest one
154+
nearest = cubes[0] # Find the nearest one
155155
for marker in cubes:
156156
if marker.distance < nearest.distance:
157157
nearest = marker

0 commit comments

Comments
 (0)