fix: increase wait time in search_pc function for improved reliability
This commit is contained in:
parent
e5b3ea8b57
commit
7f5296b2ef
@ -109,7 +109,7 @@ def wait(duration: float) -> None:
|
|||||||
def search_pc(query: str) -> None:
|
def search_pc(query: str) -> None:
|
||||||
"""Presses the Windows key."""
|
"""Presses the Windows key."""
|
||||||
pyautogui.hotkey('win')
|
pyautogui.hotkey('win')
|
||||||
wait(2)
|
wait(4)
|
||||||
press_keyboard(KeyboardInput(text=query))
|
press_keyboard(KeyboardInput(text=query))
|
||||||
|
|
||||||
def reprompt(nextsteps: str, processor) -> None:
|
def reprompt(nextsteps: str, processor) -> None:
|
||||||
|
Loading…
Reference in New Issue
Block a user