set hid to components

This commit is contained in:
Cayo Puigdefabregas 2022-11-16 17:40:59 +01:00
parent f0ffe27671
commit 9b08c083ce

View file

@ -39,6 +39,14 @@ def main():
return return
device.family = family device.family = family
device.set_hid() device.set_hid()
for c in device.components:
c.set_hid()
if device.binding:
device.binding.device.family = family
device.binding.device.set_hid()
for c in device.binding.device.components:
c.set_hid()
db.session.commit() db.session.commit()