diff --git a/pyghmi/redfish/oem/lenovo/xcc3.py b/pyghmi/redfish/oem/lenovo/xcc3.py index 77e7b07e..c26def08 100644 --- a/pyghmi/redfish/oem/lenovo/xcc3.py +++ b/pyghmi/redfish/oem/lenovo/xcc3.py @@ -270,7 +270,7 @@ class OEMHandler(generic.OEMHandler): acctattribs['Oem']['Lenovo'][ self.oemacctmap[key.lower()]] = currval if key.lower() == 'password_expiration': - warntime = str(int(int(currval) * 0.08)) + warntime = int(int(currval) * 0.08) acctattribs['Oem']['Lenovo'][ 'PasswordExpirationWarningPeriod'] = warntime elif key.lower() in self.acctmap: