typo fix
This commit is contained in:
parent
58fcdf8c07
commit
e2c7f89347
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ def generate_api(cli):
|
|||
if 'vid' in usb and usb['vid'] not in usb_list['devices']:
|
||||
usb_list['devices'][usb['vid']] = {}
|
||||
|
||||
if 'vid' in usb and usb['pid'] not in usb_list['devices'][usb['vid']]:
|
||||
if 'pid' in usb and usb['pid'] not in usb_list['devices'][usb['vid']]:
|
||||
usb_list['devices'][usb['vid']][usb['pid']] = {}
|
||||
|
||||
if 'vid' in usb and 'pid' in usb:
|
||||
|
|
Loading…
Reference in a new issue