firmware model lookup fix

This commit is contained in:
Shivam Thakur
2021-10-29 10:25:36 +05:30
committed by GitHub
parent 1082f21c58
commit 553396e4d1

View File

@@ -226,7 +226,7 @@ class FMSUtils:
devices = self.get_device_set()
model_name = ""
for device in devices['deviceTypes']:
if str(device).__contains__(model):
if str(device).__eq__(model):
model_name = device
return model_name