diff --git a/nohang b/nohang index 5161e10..a457959 100755 --- a/nohang +++ b/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() + + ##########################################################################