set hid to components
This commit is contained in:
parent
f0ffe27671
commit
9b08c083ce
|
@ -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()
|
||||
|
||||
|
||||
|
|
Reference in a new issue