41
44
if "Average time to sleep" in line:
42
45
sleep_time = float(line.split(':')[1].strip())
43
47
elif "Average time to resume" in line:
44
48
resume_time = float(line.split(':')[1].strip())
47
53
print("ERROR: One or more times was not reported correctly")
54
60
if sleep_time > args.sleep_threshold: