diff options
author | Erovia <Erovia@users.noreply.github.com> | 2020-10-09 18:46:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-09 18:46:49 +0100 |
commit | 459f672879e99f27faadb548b6493760b9a5879c (patch) | |
tree | f5a72eddb3608059b8f89c1519aefd91b9fef376 | |
parent | cd0e32ff9ec5d33d911832c1ea716acb900b564d (diff) | |
download | qmk_firmware-459f672879e99f27faadb548b6493760b9a5879c.tar.gz |
CLI: Fix stripping of `ANY` from Configurator exports (#10585)
058737f broke it ¯\_(ツ)_/¯
-rw-r--r-- | lib/python/qmk/keymap.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/qmk/keymap.py b/lib/python/qmk/keymap.py index 2b271fe80..166697ee6 100644 --- a/lib/python/qmk/keymap.py +++ b/lib/python/qmk/keymap.py @@ -103,6 +103,8 @@ def generate(keyboard, layout, layers, type='c', keymap=None): for layer_num, layer in enumerate(layers): if layer_num != 0: layer_txt[-1] = layer_txt[-1] + ',' + + layer = map(_strip_any, layer) layer_keys = ', '.join(layer) layer_txt.append('\t[%s] = %s(%s)' % (layer_num, layout, layer_keys)) |