From 459f672879e99f27faadb548b6493760b9a5879c Mon Sep 17 00:00:00 2001 From: Erovia Date: Fri, 9 Oct 2020 18:46:49 +0100 Subject: CLI: Fix stripping of `ANY` from Configurator exports (#10585) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 058737f broke it ¯\_(ツ)_/¯ --- lib/python/qmk/keymap.py | 2 ++ 1 file changed, 2 insertions(+) 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)) -- cgit v1.2.1