diff options
author | Erovia <Erovia@users.noreply.github.com> | 2020-10-09 18:46:49 +0100 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2021-01-12 22:43:31 -0800 |
commit | b6dbef77e21ae09a1ac7def74986ee3889f581bb (patch) | |
tree | 0765524119cfbc8cc7d65aac07167abc98736a8d /lib/python | |
parent | 9daa7dcb374ea6174420a03f10921caf0c5ed36e (diff) |
CLI: Fix stripping of `ANY` from Configurator exports (#10585)
058737f broke it ¯\_(ツ)_/¯
Diffstat (limited to 'lib/python')
-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 2b271fe807..166697ee6a 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)) |