diff options
author | Zach White <skullydazed@users.noreply.github.com> | 2020-05-26 15:18:49 -0700 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2020-08-08 20:32:02 -0700 |
commit | e85a5f04f870d553ac98a3443718ed6ee51895e7 (patch) | |
tree | 631c731b0a96c70ea7dd113e7744e3d2ffa09016 /lib/python/qmk/cli | |
parent | 583c2cead21f64541d8edde871754a899780b3fa (diff) |
Fix the path for generated keymaps (#9213)
Diffstat (limited to 'lib/python/qmk/cli')
-rwxr-xr-x | lib/python/qmk/cli/compile.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/python/qmk/cli/compile.py b/lib/python/qmk/cli/compile.py index 6480d624b0..341f365f8c 100755 --- a/lib/python/qmk/cli/compile.py +++ b/lib/python/qmk/cli/compile.py @@ -7,7 +7,6 @@ from argparse import FileType from milc import cli -import qmk.path from qmk.decorators import automagic_keyboard, automagic_keymap from qmk.commands import compile_configurator_json, create_make_command, parse_configurator_json @@ -32,11 +31,8 @@ def compile(cli): # If a configurator JSON was provided generate a keymap and compile it # FIXME(skullydazed): add code to check and warn if the keymap already exists when compiling a json keymap. user_keymap = parse_configurator_json(cli.args.filename) - keymap_path = qmk.path.keymap(user_keymap['keyboard']) command = compile_configurator_json(user_keymap) - cli.log.info('Wrote keymap to {fg_cyan}%s/%s/keymap.c', keymap_path, user_keymap['keymap']) - else: if cli.config.compile.keyboard and cli.config.compile.keymap: # Generate the make command for a specific keyboard/keymap. |