Skip to content

Commit 11efdc5

Browse files
author
welli7ngton
committed
fix: type error
1 parent 2dbef93 commit 11efdc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

botcity/core/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ def get_element_coords(
699699
height: Optional[int] = None,
700700
matching: float = 0.9,
701701
best: bool = True,
702-
) -> Tuple[int, int] | Tuple[None, None]:
702+
) -> Union[Tuple[int, int], Tuple[None, None]]:
703703
"""
704704
Find an element defined by label on screen and returns its coordinates.
705705

0 commit comments

Comments
 (0)