From f9d7da64c99f39516838ae0345d110bc3b2511cc Mon Sep 17 00:00:00 2001 From: piair Date: Sat, 30 Sep 2023 18:22:56 +0200 Subject: [PATCH] LET'S GO CA MARCHE (il y a plus qu'a rendre tout ca joli + faire en sorte que le vnc se connecte tout seul et c'est une dinguerie) --- Flask/templates/vnc_get.html | 10 +++++----- V6.py | 7 +++++-- version | 2 +- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/Flask/templates/vnc_get.html b/Flask/templates/vnc_get.html index 67931f3..8edd500 100644 --- a/Flask/templates/vnc_get.html +++ b/Flask/templates/vnc_get.html @@ -35,11 +35,11 @@ function change_override(value, data) { {% for i in range(0,5) %} - - - - - + + + + + {% endfor %} diff --git a/V6.py b/V6.py index 3ba5775..458ebac 100755 --- a/V6.py +++ b/V6.py @@ -844,8 +844,11 @@ def very_custom_start(json): try : if str(i) in json["unban"]: pwd_login(driver) # TODO : define only the first part of login - print("waiting 1000 secs") - sleep(1000) + print("\nGO TO exmaple.com TO PROCEED or wait 600 secs.") + for _ in range(600): + sleep(1) + if driver.current_url == "https://example.com": + break else : login(driver) except KeyError : diff --git a/version b/version index 09b6b7d..3147ffc 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.6.37 +v6.6.38