From c34a82639c86383fe35fcbdec1e1527c762ff99f Mon Sep 17 00:00:00 2001 From: piair Date: Sun, 24 Sep 2023 21:42:27 +0200 Subject: [PATCH] =?UTF-8?q?vraiment=20chelou=20cette=20affaire,=20a=20la?= =?UTF-8?q?=20main,=20il=20n'y=20a=20pas=20de=20probl=C3=A8mes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- V6.py | 3 ++- modules/globals.py | 2 +- version | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/V6.py b/V6.py index 14b1877..bf661c3 100755 --- a/V6.py +++ b/V6.py @@ -363,6 +363,7 @@ def try_play(nom="inconnu"): printf("There is an error. rqAnswerOption present in page but no action to do. skipping.") if "pas connecté à Microsoft Rewards" in driver.page_source: + custom_sleep(5) driver.find_element(By.CSS_SELECTOR, '[onclick="setsrchusr()"]').click() custom_sleep(5) printf("not connected, fixed") @@ -835,7 +836,7 @@ if g.dev : driver = firefox_driver() input("kill ?") driver.quit() -if g.custom_start: +elif g.custom_start: CustomStart() elif g.unban: g._mail, g._password = select_accounts(False)[0] diff --git a/modules/globals.py b/modules/globals.py index 09a44c5..cadf1c4 100644 --- a/modules/globals.py +++ b/modules/globals.py @@ -9,7 +9,7 @@ unban = False log = False full_log = False vnc_enabled = False -vnc_port = 0 +vnc_port = 2345 points_file = "/" update_version = False islinux = True diff --git a/version b/version index 5438f70..b558f3b 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.5.0 +v6.5.1