Skip to content

Commit 9ecce75

Browse files
authored
Fix key class in international.py (#1038)
* Fix key class in international.py * fixup
1 parent 7f3c76d commit 9ecce75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kmk/extensions/international.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'''Adds international keys'''
22

33
from kmk.extensions import Extension
4-
from kmk.keys import ConsumerKey, make_key
4+
from kmk.keys import KeyboardKey, make_key
55

66

77
class International(Extension):
@@ -33,7 +33,7 @@ def __init__(self):
3333
(152, ('LANG9',)),
3434
)
3535
for code, names in codes:
36-
make_key(names=names, constructor=ConsumerKey, code=code)
36+
make_key(names=names, constructor=KeyboardKey, code=code)
3737

3838
def on_runtime_enable(self, sandbox):
3939
return

0 commit comments

Comments
 (0)