1
0
Fork 1

Fix a very awkward mistake in fixing issue 25

Esse commit está contido em:
Sofia 2018-12-11 02:57:40 +02:00
commit e4cca123c9
1 arquivos alterados com 1 adições e 1 exclusões

Ver arquivo

@ -309,7 +309,7 @@ class HookManager(threading.Thread):
def lookup_keysym(self, keysym):
for name in dir(XK):
if name.startswith("XK_") and getattr(XK, name) == keysym:
return name[:3]
return name[3:]
return "[{}]".format(keysym)
def asciivalue(self, keysym):