diff --git a/pyghmi/redfish/oem/lenovo/main.py b/pyghmi/redfish/oem/lenovo/main.py index b5fc2163..f8e599f1 100644 --- a/pyghmi/redfish/oem/lenovo/main.py +++ b/pyghmi/redfish/oem/lenovo/main.py @@ -18,7 +18,7 @@ from pyghmi.redfish.oem.lenovo import xcc def get_handler(sysinfo, sysurl, webclient, cache): leninf = sysinfo.get('Oem', {}).get('Lenovo', {}) - if 'FrontPanelUSB' in leninf or sysinfo.get('SKU', '').startswitch('7X58'): + if 'FrontPanelUSB' in leninf or sysinfo.get('SKU', '').startswith('7X58'): return xcc.OEMHandler(sysinfo, sysurl, webclient, cache) else: return generic.OEMHandler(sysinfo, sysurl, webclient, cache)