disable CustomSleep when it's not useful. help clean logs
This commit is contained in:
parent
cdcc30e033
commit
78699294b3
27
V4.py
27
V4.py
|
@ -89,19 +89,22 @@ g.close
|
||||||
|
|
||||||
|
|
||||||
def CustomSleep(temps):
|
def CustomSleep(temps):
|
||||||
c = False
|
if Log or not IsLinux :
|
||||||
points = [" . ", " . ", " . ", " .", " .", " . ", " . "," . "]
|
c = False
|
||||||
for i in range (int(temps)):
|
points = [" . ", " . ", " . ", " .", " .", " . ", " . "," . "]
|
||||||
c = True
|
for i in range (int(temps)):
|
||||||
for i in range (8):
|
c = True
|
||||||
|
for i in range (8):
|
||||||
sleep(0.125)
|
|
||||||
print(points[i], end='\r')
|
sleep(0.125)
|
||||||
|
print(points[i], end='\r')
|
||||||
if c:
|
|
||||||
print(' ', end="\r")
|
|
||||||
sleep(temps - int(temps))
|
|
||||||
|
|
||||||
|
if c:
|
||||||
|
print(' ', end="\r")
|
||||||
|
sleep(temps - int(temps))
|
||||||
|
print("\n")
|
||||||
|
else :
|
||||||
|
sleep(temps)
|
||||||
|
|
||||||
def ListTabs():
|
def ListTabs():
|
||||||
tabs = []
|
tabs = []
|
||||||
|
|
Loading…
Reference in New Issue