diff options
author | Zach White <skullydazed@gmail.com> | 2021-01-08 08:46:51 -0800 |
---|---|---|
committer | Zach White <skullydazed@gmail.com> | 2021-01-08 08:46:51 -0800 |
commit | e2c7f893470465f986bd6849c18606be0f2b7842 (patch) | |
tree | e88b9201083488e64c4a13cc74dc5d8d2d02ab42 /lib | |
parent | 58fcdf8c07e5c1363b6b3eaf23883853dfd12f53 (diff) | |
download | qmk_firmware-e2c7f893470465f986bd6849c18606be0f2b7842.tar.gz qmk_firmware-e2c7f893470465f986bd6849c18606be0f2b7842.zip |
typo fix
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/python/qmk/cli/generate/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/generate/api.py b/lib/python/qmk/cli/generate/api.py index 2fda38fc9a..6d111f244c 100755 --- a/lib/python/qmk/cli/generate/api.py +++ b/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: |