pas besoin d'afficher a chaque fois l'intégralité des mots de passe dans les logs (qui sont plus ou moins public par ailleurs)

This commit is contained in:
piair 2023-09-30 18:36:20 +02:00
parent 213b62712a
commit 7b1a4cae2c
2 changed files with 12 additions and 8 deletions

18
V6.py
View File

@ -831,14 +831,15 @@ def very_custom_start(json):
cred = g._cred[i]
g._mail = cred[0]
g._password = cred[1]
print(cred, g._mail)
start = False
for j in ["unban", "tout", "pc", "mobile", "log_points"]:
try :
if str(i) in json[j]:
start = True
print(f"{g._mail} : {j}")
except KeyError :
print(f"none is set to \"{j}\"")
pass
#print(f"none is set to \"{j}\"")
if start:
driver = firefox_driver()
try :
@ -847,7 +848,6 @@ def very_custom_start(json):
print("\nGO TO exmaple.com TO PROCEED or wait 600 secs.")
for _ in range(600):
sleep(1)
print(driver.current_url)
if driver.current_url == "https://example.com/":
print("proceeding")
break
@ -859,7 +859,8 @@ def very_custom_start(json):
if str(i) in json["tout"]:
daily_routine(True)
except KeyError :
print("none is set to \"tout\"")
pass
#print("none is set to \"tout\"")
else :
try :
if str(i) in json["daily"]:
@ -868,7 +869,8 @@ def very_custom_start(json):
except Exception as e:
log_error(e)
except KeyError :
print("none is set to \"daily\"")
pass
#print("none is set to \"daily\"")
try :
if str(i) in json["pc"]:
try:
@ -876,7 +878,8 @@ def very_custom_start(json):
except Exception as e:
log_error(e)
except KeyError :
print("none is set to \"pc\"")
pass
#print("none is set to \"pc\"")
try :
if str(i) in json["mobile"]:
try:
@ -884,7 +887,8 @@ def very_custom_start(json):
except Exception as e:
log_error(e)
except KeyError :
print("none is set to \"mobile\"")
pass
#print("none is set to \"mobile\"")
try:
log_points(g._mail)
except Exception as e:

View File

@ -1 +1 @@
v6.6.40
v6.6.41