mirror of
https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
synced 2025-05-12 23:46:29 +02:00
fix ?
This commit is contained in:
parent
16ddd7aae9
commit
d14e0efad9
2
V5.py
2
V5.py
@ -44,6 +44,8 @@ custom_sleep = CustomSleep
|
||||
|
||||
|
||||
def log_error(error, driver=driver, log=FULL_LOG):
|
||||
if driver is None:
|
||||
global driver
|
||||
if type(error) != str :
|
||||
error = format_error(error)
|
||||
print(f"\n\n\033[93m Erreur : {str(error)} \033[0m\n\n")
|
||||
|
Loading…
x
Reference in New Issue
Block a user