Skip to content

Commit

Permalink
Style.
Browse files Browse the repository at this point in the history
  • Loading branch information
tzarc committed Feb 9, 2025
1 parent 244a9cf commit f04d63a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/qmk/cli/generate/community_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ def _render_keycodes(module_jsons):
first = True
for module_json in module_jsons:
module_name = Path(module_json['module']).name
lines.append(f' // From module: {module_name}')
keycodes = module_json.get('keycodes', [])
if len(keycodes) > 0:
lines.append(f' // From module: {module_name}')
for keycode in keycodes:
key = keycode.get('key', None)
if first:
Expand Down

0 comments on commit f04d63a

Please sign in to comment.