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 | |
parent | 5eb0e406fdc6e0612db18ea5bde93f98c215808d (diff) |
Fix generate api (#13930)
* Add missing returncode to exit()
* fix the aozora/hotswap vendor id
-rw-r--r-- | keyboards/aozora/hotswap/config.h | 2 | ||||
-rw-r--r-- | lib/python/qmk/info.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/aozora/hotswap/config.h b/keyboards/aozora/hotswap/config.h index f1eb193a50..60277f2635 100644 --- a/keyboards/aozora/hotswap/config.h +++ b/keyboards/aozora/hotswap/config.h @@ -19,7 +19,7 @@ #include "config_common.h" /* USB Device descriptor parameter */ -#define VENDOR_ID 0xCATS +#define VENDOR_ID 0xCA75 #define PRODUCT_ID 0x4014 #define DEVICE_VER 0x0001 #define MANUFACTURER Salmon Cat Studio diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py index 47c8bff7a8..d23b3592ee 100644 --- a/lib/python/qmk/info.py +++ b/lib/python/qmk/info.py @@ -71,7 +71,7 @@ def info_json(keyboard): except jsonschema.ValidationError as e: json_path = '.'.join([str(p) for p in e.absolute_path]) cli.log.error('Invalid API data: %s: %s: %s', keyboard, json_path, e.message) - exit() + exit(1) # Make sure we have at least one layout if not info_data.get('layouts'): |