firmware_flasher: fix find_device_with_uid

main
Ilya Zhuravlev 2021-01-14 10:46:17 -05:00
parent e91c356bbe
commit 8239e06de3
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ class FirmwareFlasher(BasicEditor):
isinstance(self.device, VialKeyboard) and self.device.keyboard.vibl
def find_device_with_uid(self, cls, uid):
devices = find_vial_devices()
devices = find_vial_devices({"definitions": {}})
for dev in devices:
if isinstance(dev, cls) and dev.get_uid() == uid:
return dev