summaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli
diff options
context:
space:
mode:
authorZach White <skullydazed@gmail.com>2019-12-08 16:16:01 -0800
committerskullydazed <skullydazed@users.noreply.github.com>2019-12-08 16:40:03 -0800
commit033c7af292730fab4a4b147de0fc5b33460379e1 (patch)
tree3b001187153ce7489899d8100670468f736aaf3d /lib/python/qmk/cli
parent15e5f57952a985d910a9b66a738ee1f71dbfa5c2 (diff)
downloadqmk_firmware-033c7af292730fab4a4b147de0fc5b33460379e1.tar.gz
qmk_firmware-033c7af292730fab4a4b147de0fc5b33460379e1.zip
Fix compiling json files
Diffstat (limited to 'lib/python/qmk/cli')
-rwxr-xr-xlib/python/qmk/cli/compile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/compile.py b/lib/python/qmk/cli/compile.py
index 234ffb12ca..8e2d0cdbf4 100755
--- a/lib/python/qmk/cli/compile.py
+++ b/lib/python/qmk/cli/compile.py
@@ -37,7 +37,7 @@ def compile(cli):
cli.log.info('Creating {fg_cyan}%s{style_reset_all} keymap in {fg_cyan}%s', user_keymap['keymap'], keymap_path)
# Compile the keymap
- command = compile_configurator_json(cli.args.filename)
+ command = compile_configurator_json(user_keymap)
cli.log.info('Wrote keymap to {fg_cyan}%s/%s/keymap.c', keymap_path, user_keymap['keymap'])