Skip to content

Commit

Permalink
fix: Fix QMK held key inference bug caused by e9efae1
Browse files Browse the repository at this point in the history
  • Loading branch information
caksoylar committed Jan 31, 2024
1 parent a6e7342 commit 10a41cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keymap_drawer/parse/qmk.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def _parse(self, in_str: str, file_name: str | None = None) -> tuple[dict, Keyma
layers[layer_name] = []
for ind, key in enumerate(layer):
try:
layers[layer_name].append(self._str_to_key(key, ind, [ind]))
layers[layer_name].append(self._str_to_key(key, layer_ind, [ind]))
except Exception as err:
raise ParseError(
f'Could not parse keycode "{key}" in layer "{layer_name}" with exception "{err}"'
Expand Down

0 comments on commit 10a41cf

Please sign in to comment.