diff options
author | Zach White <skullydazed@gmail.com> | 2021-08-09 08:28:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-09 08:28:51 -0700 |
commit | e6c171bdd639fef41a68902ce5a379a0565ed99b (patch) | |
tree | 0c5a44692f697a714be3cea5a890fdf9eb40cbd6 /lib/python | |
parent | 5eb0e406fdc6e0612db18ea5bde93f98c215808d (diff) | |
download | qmk_firmware-e6c171bdd639fef41a68902ce5a379a0565ed99b.tar.gz qmk_firmware-e6c171bdd639fef41a68902ce5a379a0565ed99b.zip |
Fix generate api (#13930)
* Add missing returncode to exit()
* fix the aozora/hotswap vendor id
Diffstat (limited to 'lib/python')
-rw-r--r-- | lib/python/qmk/info.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py index 47c8bff7a..d23b3592e 100644 --- a/lib/python/qmk/info.py +++ b/lib/python/qmk/info.py | |||
@@ -71,7 +71,7 @@ def info_json(keyboard): | |||
71 | except jsonschema.ValidationError as e: | 71 | except jsonschema.ValidationError as e: |
72 | json_path = '.'.join([str(p) for p in e.absolute_path]) | 72 | json_path = '.'.join([str(p) for p in e.absolute_path]) |
73 | cli.log.error('Invalid API data: %s: %s: %s', keyboard, json_path, e.message) | 73 | cli.log.error('Invalid API data: %s: %s: %s', keyboard, json_path, e.message) |
74 | exit() | 74 | exit(1) |
75 | 75 | ||
76 | # Make sure we have at least one layout | 76 | # Make sure we have at least one layout |
77 | if not info_data.get('layouts'): | 77 | if not info_data.get('layouts'): |