Little mistake

This commit is contained in:
Florent Le Coz 2011-03-20 02:44:51 +01:00
parent 56cbdaacb6
commit 902cfd9056

View file

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