better fulllog logic
This commit is contained in:
parent
1eb606a62c
commit
3376eaf8ac
13
V4.py
13
V4.py
@ -221,7 +221,7 @@ def FirefoxDriver(mobile=False, Headless=Headless):
|
|||||||
def printf(txt, end="", Mobdriver=driver):
|
def printf(txt, end="", Mobdriver=driver):
|
||||||
if Log:
|
if Log:
|
||||||
print(Timer(txt))
|
print(Timer(txt))
|
||||||
elif FullLog:
|
if FullLog:
|
||||||
try :
|
try :
|
||||||
LogError(Timer(txt), Mobdriver=Mobdriver)
|
LogError(Timer(txt), Mobdriver=Mobdriver)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
@ -241,16 +241,15 @@ def CustomSleep(temps):
|
|||||||
" . ",
|
" . ",
|
||||||
" . ",
|
" . ",
|
||||||
]
|
]
|
||||||
|
passe = 0
|
||||||
for i in range(int(temps)):
|
for i in range(int(temps)):
|
||||||
c = True
|
|
||||||
for i in range(8):
|
for i in range(8):
|
||||||
sleep(0.125)
|
sleep(0.125)
|
||||||
print(points[i], end="\r")
|
passe =+ 0.125
|
||||||
|
print(f"{points[i]} {float(temps) - passe}", end="\r")
|
||||||
|
|
||||||
|
print(" ", end="\r")
|
||||||
|
|
||||||
if c:
|
|
||||||
print(". ", end="\r")
|
|
||||||
sleep(temps - int(temps))
|
|
||||||
print("\n")
|
|
||||||
else:
|
else:
|
||||||
sleep(temps)
|
sleep(temps)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user