Skip to content

Commit 6bb8aea

Browse files
FIX: fixing the return type of the find_process method
1 parent afe8147 commit 6bb8aea

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
@@ -446,7 +446,7 @@ def find_text(self, label, x=None, y=None, width=None, height=None, *, threshold
446446
return self.find_until(label, x, y, width, height, threshold=threshold, matching=matching,
447447
waiting_time=waiting_time, best=best, grayscale=True)
448448

449-
def find_process(self, name: str = None, pid: str = None) -> List[Process]:
449+
def find_process(self, name: str = None, pid: str = None) -> Process:
450450
"""
451451
Find a process by name or PID
452452

0 commit comments

Comments
 (0)