Fix a very awkward mistake in fixing issue 25

这个提交包含在:
Sofia 2018-12-11 02:57:40 +02:00
父节点 0ad08ed77f
当前提交 e4cca123c9
共有 1 个文件被更改,包括 1 次插入1 次删除

查看文件

@ -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):