added random time before each account intead of after
This commit is contained in:
parent
d4c3e70e5f
commit
59e57bc124
4
V6.py
4
V6.py
|
@ -940,10 +940,10 @@ else :
|
||||||
printf("Driver demarré.")
|
printf("Driver demarré.")
|
||||||
driver.implicitly_wait(3)
|
driver.implicitly_wait(3)
|
||||||
try:
|
try:
|
||||||
|
attente = uniform(1200, 3600)
|
||||||
|
printf(f"Attente de {round(attente/60)} min avant de démarrer")
|
||||||
daily_routine()
|
daily_routine()
|
||||||
driver.quit()
|
driver.quit()
|
||||||
attente = uniform(1200, 3600)
|
|
||||||
printf(f"finis. attente de {round(attente/60)}min")
|
|
||||||
custom_sleep(attente)
|
custom_sleep(attente)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
printf("Canceled. Closing driver and display.")
|
printf("Canceled. Closing driver and display.")
|
||||||
|
|
Loading…
Reference in New Issue