trivial: install_dell_bios_exe: fixup uefi-capsule -> uefi_capsule

Fixes: #2840
This commit is contained in:
Mario Limonciello 2021-02-07 23:49:27 -06:00
parent 5bbb0b7980
commit b71b273c87

View File

@ -72,7 +72,7 @@ def find_uefi_device(client, deviceid):
if not item.has_flag(1 << 8):
continue
# return the first hit for UEFI plugin
if item.get_plugin() == 'uefi' or item.get_plugin() == 'uefi-capsule':
if item.get_plugin() == 'uefi' or item.get_plugin() == 'uefi_capsule':
print("Installing to %s" % item.get_name())
return item.get_guid_default(), item.get_id(), item.get_version()
print("Couldn't find any UEFI devices")