From 33bb9c3dac068dacc7695ef1a5908949f0bbfb1e Mon Sep 17 00:00:00 2001 From: Khiem Vo <8721247+HoloKi@users.noreply.github.com> Date: Fri, 3 Sep 2021 00:26:49 +0200 Subject: [PATCH] temporary fix end expe --- ClassBot/ExpeditionClass.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/ClassBot/ExpeditionClass.py b/ClassBot/ExpeditionClass.py index 974bd83..4ca8fe5 100644 --- a/ClassBot/ExpeditionClass.py +++ b/ClassBot/ExpeditionClass.py @@ -47,16 +47,15 @@ def expedition(run): asyncio.run(test()) print("----------------------------------\n") time.sleep(3) + pyautogui.press('esc') + time.sleep(3) if count == int(run): pyautogui.press('esc') - time.sleep(2) - return 1 - else: - pyautogui.press('esc') - time.sleep(2) + time.sleep(3) pyautogui.press('esc') - time.sleep(2) + time.sleep(3) pyautogui.press('esc') + time.sleep(3) break