forked from piair/MsRewards-Reborn
trying to fix web start
This commit is contained in:
parent
3123a1dbd0
commit
3c74aa025e
10
V6.py
10
V6.py
@ -781,7 +781,6 @@ def json_start(json_entry, cred: UserCredentials):
|
||||
config.WebDriver.set_pc_driver(create_driver())
|
||||
config.WebDriver.switch_to_driver("PC")
|
||||
driver = config.WebDriver.driver
|
||||
try:
|
||||
if "unban" in json_entry and str(account_id) in json_entry["unban"]:
|
||||
login()
|
||||
info("\nGO TO example.com TO PROCEED or wait 1200 secs.")
|
||||
@ -792,13 +791,10 @@ def json_start(json_entry, cred: UserCredentials):
|
||||
break
|
||||
else:
|
||||
login()
|
||||
except KeyError:
|
||||
login()
|
||||
try:
|
||||
if str(account_id) in json_entry["tout"]:
|
||||
daily_routine(cred, True)
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
else:
|
||||
try:
|
||||
if str(account_id) in json_entry["daily"]:
|
||||
@ -824,10 +820,14 @@ def json_start(json_entry, cred: UserCredentials):
|
||||
log_error(e)
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
except KeyError:
|
||||
pass
|
||||
try:
|
||||
log_points()
|
||||
except Exception as e:
|
||||
error(f"CustomStart {e}")
|
||||
|
||||
driver.close()
|
||||
cred.next_account()
|
||||
account_id += 1
|
||||
|
Loading…
Reference in New Issue
Block a user