diff --git a/run_monitor.py b/run_monitor.py index 82edbdc..2b31d99 100644 --- a/run_monitor.py +++ b/run_monitor.py @@ -87,7 +87,7 @@ def get_uptime(): _uptime = output[3] # print("_uptime:", _uptime) uptime_unit = output[4].split(",") - if uptime_unit[0] == 'days': + if uptime_unit[0] in ['day', 'days']: uptime = int(_uptime) * 24 # print(uptime) else: