If there are no per-contact settings, return defaults.
This commit is contained in:
parent
2662b69986
commit
ffd0bb8b0b
1 changed files with 4 additions and 0 deletions
|
@ -585,6 +585,10 @@ class Config:
|
||||||
if not key:
|
if not key:
|
||||||
return dict.keys()
|
return dict.keys()
|
||||||
if not dict.has_key(key):
|
if not dict.has_key(key):
|
||||||
|
if self.__options_per_key.has_key(optname) \
|
||||||
|
and self.__options_per_key[optname][0].has_key(subname):
|
||||||
|
return self.__options_per_key \
|
||||||
|
[optname][0][subname][1]
|
||||||
return None
|
return None
|
||||||
obj = dict[key]
|
obj = dict[key]
|
||||||
if not subname:
|
if not subname:
|
||||||
|
|
Loading…
Add table
Reference in a new issue