fix alerts
This commit is contained in:
parent
c8cd66d354
commit
120322f8a8
18
nohang
18
nohang
@ -838,8 +838,7 @@ def check_zram():
|
|||||||
|
|
||||||
|
|
||||||
def format_time(t):
|
def format_time(t):
|
||||||
"""
|
|
||||||
"""
|
|
||||||
|
|
||||||
t = int(t)
|
t = int(t)
|
||||||
|
|
||||||
@ -861,6 +860,14 @@ def format_time(t):
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def string_to_float_convert_test(string):
|
def string_to_float_convert_test(string):
|
||||||
"""Try to interprete string values as floats."""
|
"""Try to interprete string values as floats."""
|
||||||
try:
|
try:
|
||||||
@ -3223,6 +3230,13 @@ log('Monitoring has started!')
|
|||||||
stdout.flush()
|
stdout.flush()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
x = format_time(3600 * 24 + 99)
|
||||||
|
print(x)
|
||||||
|
exit()
|
||||||
|
|
||||||
|
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user