summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-03-20 02:44:51 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-03-20 02:44:51 +0100
commit902cfd90563db2052440be8f890a74b50955f7bf (patch)
tree64e2cc90604ad0f32c3027a24784a0053a01c34b /src/core.py
parent56cbdaacb6b674d0f8b0db7430b2942331358194 (diff)
downloadpoezio-902cfd90563db2052440be8f890a74b50955f7bf.tar.gz
poezio-902cfd90563db2052440be8f890a74b50955f7bf.tar.bz2
poezio-902cfd90563db2052440be8f890a74b50955f7bf.tar.xz
poezio-902cfd90563db2052440be8f890a74b50955f7bf.zip
Little mistake
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core.py b/src/core.py
index 49aaeeab..aa3487f0 100644
--- a/src/core.py
+++ b/src/core.py
@@ -124,7 +124,6 @@ class Core(object):
}
self.key_func = {
-
"KEY_PPAGE": self.scroll_page_up,
"KEY_NPAGE": self.scroll_page_down,
"KEY_F(5)": self.rotate_rooms_left,
@@ -614,7 +613,7 @@ class Core(object):
else:
self.command_win('%s' % nb)
# search for keyboard shortcut
- elif char in list(self.key_func.keys()):
+ if char in list(self.key_func.keys()):
self.key_func[char]()
else:
self.do_command(char)