summaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli/generate
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2020-12-19 18:47:05 +0000
committerQMK Bot <hello@qmk.fm>2020-12-19 18:47:05 +0000
commit32f53c0671be04fa651eac89ec59b7518a9d3b5e (patch)
tree3bdb94ffd1837481edd2d89cbaedf1cdd0312be8 /lib/python/qmk/cli/generate
parentd11116f734e7fc93eda6480261e10de6d85975d6 (diff)
parent624cafbfd2199fdf9fb0e834d7e9f1df70221336 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib/python/qmk/cli/generate')
-rwxr-xr-xlib/python/qmk/cli/generate/api.py2
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 9807a9cd68..66db37cb52 100755
--- a/lib/python/qmk/cli/generate/api.py
+++ b/lib/python/qmk/cli/generate/api.py
@@ -36,7 +36,7 @@ def generate_api(cli):
keyboard_readme_src = Path('keyboards') / keyboard_name / 'readme.md'
keyboard_dir.mkdir(parents=True, exist_ok=True)
- keyboard_info.write_text(json.dumps(kb_all['keyboards'][keyboard_name]))
+ keyboard_info.write_text(json.dumps({'last_updated': current_datetime(), 'keyboards': {keyboard_name: kb_all['keyboards'][keyboard_name]}}))
if keyboard_readme_src.exists():
copyfile(keyboard_readme_src, keyboard_readme)