From 1a44c602027924d3fab9f0b5e4cadd41a310b6ba Mon Sep 17 00:00:00 2001 From: piair Date: Sun, 24 Sep 2023 22:23:52 +0200 Subject: [PATCH] je comprend plus rien --- V6.py | 9 ++------- version | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/V6.py b/V6.py index d641f59..0caa5d9 100755 --- a/V6.py +++ b/V6.py @@ -471,14 +471,10 @@ def login_part_2(ldriver, cookies = False): break try: ldriver.find_element(By.ID, id).click() - restart = True except Exception as e: pass wait_until_visible(By.CSS_SELECTOR, '[data-bi-id="sh-sharedshell-home"]', 20, ldriver) - ldriver.get("https://www.bing.com/") - rgpd_popup(ldriver) - ldriver.refresh() - rgpd_popup(ldriver) + # login() tries to login to your Microsoft account. @@ -573,7 +569,6 @@ def log_points(account="unknown"): for id in ["KmsiCheckboxField","iLooksGood", "idSIButton9", "iCancel"]: try: driver.find_element(By.ID, id).click() - restart = True except Exception as e: pass wait_until_visible(By.CSS_SELECTOR, 'span[mee-element-ready="$ctrl.loadCounterAnimation()"]', browser=driver) @@ -832,7 +827,7 @@ else : display = SmartDisplay(size=(1920, 1080)) display.start() -webhookFailure.send(f"Starting on this config", username="Check de lancement", avatar_url="https://cdn-icons-png.flaticon.com/512/1688/1688988.png") +#webhookFailure.send(f"Starting on this config", username="Check de lancement", avatar_url="https://cdn-icons-png.flaticon.com/512/1688/1688988.png") if g.dev : driver = firefox_driver() diff --git a/version b/version index b601d30..b48d63a 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.5.5 +v6.5.6