diff options
author | QMK Bot <hello@qmk.fm> | 2021-01-02 17:28:05 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2021-01-02 17:28:05 +0000 |
commit | f12000a1b60dea2db20ed496294ef83765fd372f (patch) | |
tree | 5d160a819b588a3a9e5a5ba1f9ce15973271fd80 /lib/python/qmk/cli/flash.py | |
parent | 266343666fafaddff89e6a6e19410b919df3053c (diff) | |
parent | c07543133a092039c7eae0cead6c9ee3badcc7dc (diff) | |
download | qmk_firmware-f12000a1b60dea2db20ed496294ef83765fd372f.tar.gz qmk_firmware-f12000a1b60dea2db20ed496294ef83765fd372f.zip |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib/python/qmk/cli/flash.py')
-rw-r--r-- | lib/python/qmk/cli/flash.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/flash.py b/lib/python/qmk/cli/flash.py index cefb9ca31..d720d42e7 100644 --- a/lib/python/qmk/cli/flash.py +++ b/lib/python/qmk/cli/flash.py | |||
@@ -81,7 +81,8 @@ def flash(cli): | |||
81 | cli.log.info('Compiling keymap with {fg_cyan}%s', ' '.join(command)) | 81 | cli.log.info('Compiling keymap with {fg_cyan}%s', ' '.join(command)) |
82 | if not cli.args.dry_run: | 82 | if not cli.args.dry_run: |
83 | cli.echo('\n') | 83 | cli.echo('\n') |
84 | subprocess.run(command) | 84 | compile = subprocess.run(command) |
85 | return compile.returncode | ||
85 | 86 | ||
86 | else: | 87 | else: |
87 | cli.log.error('You must supply a configurator export, both `--keyboard` and `--keymap`, or be in a directory for a keyboard or keymap.') | 88 | cli.log.error('You must supply a configurator export, both `--keyboard` and `--keymap`, or be in a directory for a keyboard or keymap.') |