From 276470075c812ceeae7b91e182614ea03c446309 Mon Sep 17 00:00:00 2001 From: piair Date: Fri, 18 Feb 2022 13:17:29 +0100 Subject: [PATCH] oui --- V4.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/V4.py b/V4.py index 237e94c..4de0449 100755 --- a/V4.py +++ b/V4.py @@ -131,9 +131,9 @@ def LogError(message,log = Log, Mobdriver = None): else : gdriver = driver - if not IsLinux : - print(f'\033[93m Erreur : {str(message)} \033[0m') - else : + + print(f'\033[93m Erreur : {str(message)} \033[0m') + if IsLinux : with open('page.html', 'w') as f: f.write(gdriver.page_source) @@ -785,7 +785,7 @@ else : CustomSleep(1) driver = FirefoxPC() - driver.implicitly_wait(30) + driver.implicitly_wait(15) try : DailyRoutine()