Fix "could not find module" error message formatting (#7219)
This commit is contained in:
parent
22812aee5c
commit
74252e03cf
2
bin/qmk
2
bin/qmk
@ -26,7 +26,7 @@ with open(os.path.join(qmk_dir, 'requirements.txt'), 'r') as fd:
|
|||||||
|
|
||||||
module = line.split('=')[0] if '=' in line else line
|
module = line.split('=')[0] if '=' in line else line
|
||||||
if not find_spec(module):
|
if not find_spec(module):
|
||||||
print('Could not find module %s!', module)
|
print('Could not find module %s!' % module)
|
||||||
print('Please run `pip3 install -r requirements.txt` to install the python dependencies.')
|
print('Please run `pip3 install -r requirements.txt` to install the python dependencies.')
|
||||||
exit(255)
|
exit(255)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user