1
0
Fork 0

Fix "could not find module" error message formatting (#7219)

This commit is contained in:
fauxpark 2019-10-31 16:50:45 +11:00 committed by Drashna Jaelre
parent 22812aee5c
commit 74252e03cf

View file

@ -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)