This commit is contained in:
piair 2022-02-18 13:17:29 +01:00
parent ae2c897d5b
commit 276470075c
1 changed files with 4 additions and 4 deletions

6
V4.py
View File

@ -131,9 +131,9 @@ def LogError(message,log = Log, Mobdriver = None):
else : else :
gdriver = driver gdriver = driver
if not IsLinux :
print(f'\033[93m Erreur : {str(message)} \033[0m') print(f'\033[93m Erreur : {str(message)} \033[0m')
else : if IsLinux :
with open('page.html', 'w') as f: with open('page.html', 'w') as f:
f.write(gdriver.page_source) f.write(gdriver.page_source)
@ -785,7 +785,7 @@ else :
CustomSleep(1) CustomSleep(1)
driver = FirefoxPC() driver = FirefoxPC()
driver.implicitly_wait(30) driver.implicitly_wait(15)
try : try :
DailyRoutine() DailyRoutine()