summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/qmk3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/qmk b/bin/qmk
index 801852d4e8..a3c1be328a 100755
--- a/bin/qmk
+++ b/bin/qmk
@@ -27,7 +27,8 @@ def _check_modules(requirements):
line = line.split('#')[0]
module = dict()
- module['name'] = module['import'] = line.split('=')[0] if '=' in line else line
+ module['name'] = line.split('=')[0] if '=' in line else line
+ module['import'] = module['name'].replace('-', '_')
# Not every module is importable by its own name.
if module['name'] == "pep8-naming":