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