Skip to content

Commit

Permalink
Update lib/python/qmk/info.py
Browse files Browse the repository at this point in the history
Co-authored-by: Zach White <skullydazed@drpepper.org>
  • Loading branch information
fauxpark and skullydazed committed Oct 4, 2020
1 parent f62494c commit 0ab0108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/qmk/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def info_json(keyboard):
"""Generate the info.json data for a specific keyboard.
"""
cur_dir = Path('keyboards')
rules = parse_rules_mk_file(cur_dir / Path(keyboard) / 'rules.mk')
rules = parse_rules_mk_file(cur_dir / keyboard / 'rules.mk')
default_folder = rules.get('DEFAULT_FOLDER', '')

if not default_folder == keyboard:
Expand Down

0 comments on commit 0ab0108

Please sign in to comment.