fix unicode sequence

This commit is contained in:
xs5871 authored and Kyle Brown committed 2021-12-03 15:28:15 -08:00
1 parent a7a560bbca
commit a8b2bf75ad
1 file changed
+1 -1
+1 -1
View File
@@ -100,7 +100,7 @@ def generate_codepoint_keysym_seq(codepoint, expected_length=4):
seq = [KC.N0 for _ in range(max(len(codepoint), expected_length))]
for idx, codepoint_fragment in enumerate(reversed(codepoint)):
seq[-(idx + 1)] = KC.get(codepoint_fragment)
seq[-(idx + 1)] = KC.__getattr__(codepoint_fragment.upper())
return seq