From 49b691d73605490e8e4b35e57a8b501e1c337adc Mon Sep 17 00:00:00 2001 From: piair Date: Wed, 28 Feb 2024 18:22:15 +0100 Subject: [PATCH] not tested enough apparently --- V6.py | 2 ++ modules/Tools/logger.py | 2 +- version | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/V6.py b/V6.py index 0c178cd..d2e5209 100755 --- a/V6.py +++ b/V6.py @@ -165,6 +165,8 @@ def do_poll(): try: answer_elem.click() except exceptions.ElementNotInteractableException: + warning("element not clickable. Waiting a bit and retrying.") + custom_sleep(uniform(2, 2.5)) driver.execute_script("arguments[0].click();", answer_elem) custom_sleep(uniform(2, 2.5)) except Exception as err: diff --git a/modules/Tools/logger.py b/modules/Tools/logger.py index 7ea54a2..d13f8b5 100644 --- a/modules/Tools/logger.py +++ b/modules/Tools/logger.py @@ -30,7 +30,7 @@ class ColoredFormatter(logging.Formatter): # Set up the root logger root_logger = logging.getLogger(__name__) -root_logger.setLevel(logging.DEBUG) +root_logger.setLevel(logging.INFO) # Create a console handler and set the formatter ch = logging.StreamHandler() diff --git a/version b/version index 05704b3..9ec889a 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.8.39 +v6.8.40