Skip to content

Commit a3ae717

Browse files
author
welli7ngton
committed
typing: add return annotation to find_text
1 parent 11efdc5 commit a3ae717

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
@@ -522,7 +522,7 @@ def find_text(
522522
matching: float = 0.9,
523523
waiting_time: int = 10000,
524524
best: bool = True,
525-
):
525+
) -> Union[Tuple[int, int, int, int], None]:
526526
"""
527527
Find an element defined by label on screen until a timeout happens.
528528

0 commit comments

Comments
 (0)