set hid to components

This commit is contained in:
Cayo Puigdefabregas 2022-11-16 17:40:59 +01:00
parent f0ffe27671
commit 9b08c083ce
1 changed files with 8 additions and 0 deletions

View File

@ -39,6 +39,14 @@ def main():
return
device.family = family
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()