summaryrefslogtreecommitdiff
path: root/keyboardpython/key.py
diff options
context:
space:
mode:
Diffstat (limited to 'keyboardpython/key.py')
-rw-r--r--keyboardpython/key.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboardpython/key.py b/keyboardpython/key.py
index c1bf980..e6592ab 100644
--- a/keyboardpython/key.py
+++ b/keyboardpython/key.py
@@ -23,7 +23,7 @@ class Key:
return str(self) == str(other)
def __ne__(self,other):
- if isinstance(Key,other): return True
+ if isinstance(other,Key): return True
return str(self) != str(other)
def __str__(self):