fix unicode sequence
This commit is contained in:
parent
a7a560bbca
commit
a8b2bf75ad
@ -100,7 +100,7 @@ def generate_codepoint_keysym_seq(codepoint, expected_length=4):
|
|||||||
seq = [KC.N0 for _ in range(max(len(codepoint), expected_length))]
|
seq = [KC.N0 for _ in range(max(len(codepoint), expected_length))]
|
||||||
|
|
||||||
for idx, codepoint_fragment in enumerate(reversed(codepoint)):
|
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
|
return seq
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user