Procházet zdrojové kódy

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

fauxpark před 5 roky
rodič
revize
74252e03cf
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)