changelog
Zach White 4 years ago
parent 58fcdf8c07
commit e2c7f89347
  1. 2
      lib/python/qmk/cli/generate/api.py

@ -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…
Cancel
Save