apparently, no

This commit is contained in:
piair 2023-03-19 12:21:57 +01:00
parent 0263f2e4c1
commit 5282b4b434
1 changed files with 3 additions and 0 deletions

3
V5.py
View File

@ -44,6 +44,9 @@ custom_sleep = CustomSleep
def log_error(error, ldriver=driver, log=FULL_LOG):
global driver
if ldriver is None:
ldriver = driver
if type(error) != str :
error = format_error(error)
print(f"\n\n\033[93m Erreur : {str(error)} \033[0m\n\n")