From 44d2ccd440c8cebc2dd389d9d91a84ab3310b806 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 29 Aug 2022 09:54:05 -0400 Subject: [PATCH] Fix the SMM timezone treatment Change-Id: I32a52492a0b0f50e49b347aa37367495168eb2a3 --- pyghmi/ipmi/oem/lenovo/nextscale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyghmi/ipmi/oem/lenovo/nextscale.py b/pyghmi/ipmi/oem/lenovo/nextscale.py index ea4b621c..1c78a447 100644 --- a/pyghmi/ipmi/oem/lenovo/nextscale.py +++ b/pyghmi/ipmi/oem/lenovo/nextscale.py @@ -434,7 +434,7 @@ class SMMClient(object): val = int(ruleinfo.text) except ValueError: val = ruleinfo.text - settings[rule] = {'value': int(ruleinfo.text)} + settings[rule] = {'value': val} dwc = self.ipmicmd.xraw_command(0x32, 0x94) dwc = bytearray(dwc['data']) if len(dwc) not in (3, 4) or dwc[0] == 1: