Quellcode durchsuchen

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

fauxpark vor 5 Jahren
Ursprung
Commit
74252e03cf
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      bin/qmk

+ 1 - 1
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
         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.')
             exit(255)