diff --git a/pyghmi/redfish/command.py b/pyghmi/redfish/command.py index 95e30fdc..da0405b8 100644 --- a/pyghmi/redfish/command.py +++ b/pyghmi/redfish/command.py @@ -1028,6 +1028,7 @@ class Command(object): correction = timedelta(0) if currtime: currtime = _parse_time(currtime) + if currtime: now = datetime.now(tz.tzoffset('', 0)) try: correction = now - currtime