finally it work again
This commit is contained in:
parent
92aa56aae0
commit
7882e1dbb3
@ -9,8 +9,6 @@ from discord import ( # Importing discord.Webhook and discord.RequestsWebhookAd
|
|||||||
|
|
||||||
from modules.config import *
|
from modules.config import *
|
||||||
|
|
||||||
mail = "undefined"
|
|
||||||
_mail = mail
|
|
||||||
"""
|
"""
|
||||||
send_keys_wait([selenium element:element, str:keys]) send the different keys to the field element, with a random time between each press to simulate human action.
|
send_keys_wait([selenium element:element, str:keys]) send the different keys to the field element, with a random time between each press to simulate human action.
|
||||||
keys can be an string, but alos selenium keys
|
keys can be an string, but alos selenium keys
|
||||||
@ -54,8 +52,8 @@ def LogError(message, driver, mail, log=FULL_LOG):
|
|||||||
|
|
||||||
# add the time arround the text given in [text]
|
# add the time arround the text given in [text]
|
||||||
# [text] : string
|
# [text] : string
|
||||||
def Timer(text="undefined", mail=_mail):
|
def Timer(text, mail):
|
||||||
return(f"[{_mail} - {timedelta(seconds = round(float(time() - START_TIME)))}] " + str(text))
|
return(f"[{mail} - {timedelta(seconds = round(float(time() - START_TIME)))}] " + str(text))
|
||||||
|
|
||||||
|
|
||||||
# replace the function print, with more options
|
# replace the function print, with more options
|
||||||
|
Loading…
Reference in New Issue
Block a user