Update qmk_cli/subcommands/setup.py
Co-Authored-By: skullydazed <skullydazed@users.noreply.github.com>
This commit is contained in:
committed by
skullydazed
parent
a0b692d718
commit
a03aa1cbba
@@ -30,7 +30,7 @@ def setup(cli):
|
||||
exit(1)
|
||||
|
||||
# Check on qmk_firmware, and if it doesn't exist offer to check it out.
|
||||
if qmk_firmware.exists() and os.listdir(qmk_firmware):
|
||||
if (qmk_firmware / 'Makefile').exists():
|
||||
cli.log.info('Found qmk_firmware at %s.', str(qmk_firmware))
|
||||
else:
|
||||
cli.log.error('qmk_firmware not found!')
|
||||
|
||||
Reference in New Issue
Block a user