summaryrefslogtreecommitdiff
path: root/src/keyboard.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-26 18:01:38 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-26 18:01:38 +0000
commit390e952829dfbf9bed2cf4647e07ab9249d59cf2 (patch)
tree4c8c14d909286791a213e66f929bc619fab98f69 /src/keyboard.py
parentc486b78bbd072b5d924a62f0b2c4a40f644dfce5 (diff)
downloadpoezio-390e952829dfbf9bed2cf4647e07ab9249d59cf2.tar.gz
poezio-390e952829dfbf9bed2cf4647e07ab9249d59cf2.tar.bz2
poezio-390e952829dfbf9bed2cf4647e07ab9249d59cf2.tar.xz
poezio-390e952829dfbf9bed2cf4647e07ab9249d59cf2.zip
Basic implementation of the roster and one to one conversations
Diffstat (limited to 'src/keyboard.py')
-rw-r--r--src/keyboard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.py b/src/keyboard.py
index a0ac8d6d..4a577d16 100644
--- a/src/keyboard.py
+++ b/src/keyboard.py
@@ -52,7 +52,7 @@ def read_char(s):
if first == 27:
(first, c) = get_next_byte(s)
if not isinstance(first, int):
- return Nones
+ return None
return "M-"+chr(first)
if 194 <= first:
(code, c) = get_next_byte(s) # 2 bytes char