CLI: Fix stripping of ANY
from Configurator exports (#10585)
058737f
broke it ¯\_(ツ)_/¯
This commit is contained in:
parent
cd0e32ff9e
commit
459f672879
1 changed files with 2 additions and 0 deletions
|
@ -103,6 +103,8 @@ def generate(keyboard, layout, layers, type='c', keymap=None):
|
||||||
for layer_num, layer in enumerate(layers):
|
for layer_num, layer in enumerate(layers):
|
||||||
if layer_num != 0:
|
if layer_num != 0:
|
||||||
layer_txt[-1] = layer_txt[-1] + ','
|
layer_txt[-1] = layer_txt[-1] + ','
|
||||||
|
|
||||||
|
layer = map(_strip_any, layer)
|
||||||
layer_keys = ', '.join(layer)
|
layer_keys = ', '.join(layer)
|
||||||
layer_txt.append('\t[%s] = %s(%s)' % (layer_num, layout, layer_keys))
|
layer_txt.append('\t[%s] = %s(%s)' % (layer_num, layout, layer_keys))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue