diff --git a/burp/start_burp.py b/burp/start_burp.py index bfab422..dc887ef 100644 --- a/burp/start_burp.py +++ b/burp/start_burp.py @@ -82,11 +82,11 @@ while True: button = None history_clicked = True try: - button = pyautogui.locateCenterOnScreen("/app/burp/sort.png", confidence=0.8) + button = pyautogui.locateCenterOnScreen("/app/burp/sort.png", confidence=0.99) except: pass if button and not sort_clicked: + sort_clicked = True print("Clicking on the 'Sorting' button...") pyautogui.click(button) button = None - sort_clicked = True