Skip to content

fix: remove duplicate backtick key in VK_CODE dict#227

Open
Kailigithub wants to merge 1 commit intolsdefine:mainfrom
Kailigithub:fix/ljqctrl-duplicate-key
Open

fix: remove duplicate backtick key in VK_CODE dict#227
Kailigithub wants to merge 1 commit intolsdefine:mainfrom
Kailigithub:fix/ljqctrl-duplicate-key

Conversation

@Kailigithub
Copy link
Copy Markdown

Summary

Removed a duplicate '': 0xC0entry in theVK_CODE` dictionary, which was silently overwriting the first occurrence.

Changes

  • memory/ljqCtrl.py: Removed the second '': 0xC0key-value pair from theVK_CODE` dict

Details

The backtick character (`) was mapped to 0xC0 twice in the VK_CODE dictionary. The second occurrence was silently overwriting the first. This was flagged by ruff as F601 Dictionary key literal repeated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant