Get the value properly

This commit is contained in:
Chris Jones 2008-11-16 18:40:05 +00:00
parent 4f6d3d8ec7
commit 97fe1cca47
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class ProfileEditor:
return self.term.conf.__getattr__(key)
except AttributeError:
try:
return self.term.conf.keybindings.__getattr(key)
return self.term.conf.keybindings[key]
except AttributeError:
pass