From a677a6eb457b531c134863872549934c993a716e Mon Sep 17 00:00:00 2001 From: Yagami-Jiang <119273528+Yagami-Jiang@users.noreply.github.com> Date: Wed, 2 Aug 2023 13:56:42 +0800 Subject: [PATCH] Update thermal.py --- .../silverstone-v2/pddf/sonic_platform/thermal.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platform/broadcom/sonic-platform-modules-cel/silverstone-v2/pddf/sonic_platform/thermal.py b/platform/broadcom/sonic-platform-modules-cel/silverstone-v2/pddf/sonic_platform/thermal.py index 508c2e06ce3d..4e5e56b00a19 100644 --- a/platform/broadcom/sonic-platform-modules-cel/silverstone-v2/pddf/sonic_platform/thermal.py +++ b/platform/broadcom/sonic-platform-modules-cel/silverstone-v2/pddf/sonic_platform/thermal.py @@ -7,11 +7,10 @@ try: from sonic_platform_pddf_base.pddf_thermal import PddfThermal from . import helper - from . import bmc_present_config except ImportError as e: raise ImportError(str(e) + "- required module not found") -BMC_EXIST = bmc_present_config.get_bmc_status() +BMC_EXIST = helper.APIHelper().get_bmc_status() FAN_STATUS_INFO_CMD = "i2cget -y -f 107 0x0d 0x26"