1
0
Fork 0
forked from forks/qmk_firmware

qmk find: Fix typo in filter logging (#23693)

This commit is contained in:
Ryan 2024-05-11 19:03:16 +10:00 committed by GitHub
parent 16557f9975
commit af4a806e3f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -222,8 +222,8 @@ def _filter_keymap_targets(target_list: List[Tuple[str, str]], filters: List[str
continue
valid_keymaps = filter(filter_class.apply, valid_keymaps)
value_str = f", {{fg_cyan}}{value}{{fg_reset}})" if value is not None else ""
cli.log.info(f'Filtering on condition: {{fg_green}}{func_name}{{fg_reset}}({{fg_cyan}}{key}{{fg_reset}}{value_str}...')
value_str = f", {{fg_cyan}}{value}{{fg_reset}}" if value is not None else ""
cli.log.info(f'Filtering on condition: {{fg_green}}{func_name}{{fg_reset}}({{fg_cyan}}{key}{{fg_reset}}{value_str})...')
elif equals_match is not None:
key = equals_match.group('key')