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