forked from piair/MsRewards-Reborn
fixed a rare error occuring when the cookie creation isn't successful
This commit is contained in:
parent
5ef8d8b7ca
commit
2ca2779ec9
3
V5.py
3
V5.py
@ -406,6 +406,9 @@ def cookie_login(ldriver):
|
||||
except FileNotFoundError :
|
||||
printf("No cookies file Found.")
|
||||
return(False)
|
||||
except Exception as e:
|
||||
log_error(f"error performing cookies login. Trying with password instead. {str(e)}", driver)
|
||||
return(False)
|
||||
try :
|
||||
ldriver.refresh()
|
||||
except Exception as e:
|
||||
|
Loading…
Reference in New Issue
Block a user