1
0
Fork 0

CLI: Fix stripping of ANY from Configurator exports (#10585)

058737f broke it ¯\_(ツ)_/¯
This commit is contained in:
Erovia 2020-10-09 18:46:49 +01:00 committed by GitHub
parent cd0e32ff9e
commit 459f672879
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))