Get the value properly
This commit is contained in:
parent
4f6d3d8ec7
commit
97fe1cca47
|
@ -78,7 +78,7 @@ class ProfileEditor:
|
||||||
return self.term.conf.__getattr__(key)
|
return self.term.conf.__getattr__(key)
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
try:
|
try:
|
||||||
return self.term.conf.keybindings.__getattr(key)
|
return self.term.conf.keybindings[key]
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue