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

058737f broke it ¯\_(ツ)_/¯
daktil_manuform
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
1 changed files with 2 additions and 0 deletions

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