euh ouais j'ai ptet rajouter un VNC, bref on verra

This commit is contained in:
piair
2023-09-20 11:46:35 +02:00
parent 58ab110d55
commit a07b55fab7
4 changed files with 81 additions and 3 deletions

4
V6.py
View File

@ -367,7 +367,9 @@ def try_play(nom="inconnu"):
custom_sleep(5)
printf("not connected, fixed")
if "legaltextbox" in driver.current_url:
log_error("dev1")
driver.find_element(By.CLASS_NAME, "actionLink").click()
log_error("dev2")
try:
if wait_until_visible(By.ID, "rqStartQuiz", 5, driver):
custom_sleep(3)
@ -827,7 +829,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"@silent Starting on this config", username="Check de lancement", avatar_url="https://cdn-icons-png.flaticon.com/512/1688/1688988.png")
if g.custom_start:
CustomStart()