apparently, no
This commit is contained in:
parent
0263f2e4c1
commit
5282b4b434
3
V5.py
3
V5.py
|
@ -44,6 +44,9 @@ custom_sleep = CustomSleep
|
||||||
|
|
||||||
|
|
||||||
def log_error(error, ldriver=driver, log=FULL_LOG):
|
def log_error(error, ldriver=driver, log=FULL_LOG):
|
||||||
|
global driver
|
||||||
|
if ldriver is None:
|
||||||
|
ldriver = driver
|
||||||
if type(error) != str :
|
if type(error) != str :
|
||||||
error = format_error(error)
|
error = format_error(error)
|
||||||
print(f"\n\n\033[93m Erreur : {str(error)} \033[0m\n\n")
|
print(f"\n\n\033[93m Erreur : {str(error)} \033[0m\n\n")
|
||||||
|
|
Loading…
Reference in New Issue