core: configuration file
SàT's main options can now be put in a configuration file which can be in different locations Bridge: new getConfig option
This commit is contained in:
parent
3926cd25c7
commit
1da78d1301
1 changed files with 84 additions and 5 deletions
|
|
@ -81,6 +81,9 @@ class DBusBridgeFrontend(BridgeFrontend):
|
|||
def disconnect(self, profile_key="@DEFAULT@"):
|
||||
return self.db_comm_iface.disconnect(profile_key)
|
||||
|
||||
def getConfig(self, section, name, profile_key='@DEFAULT@'):
|
||||
return unicode(self.db_comm_iface.getConfig(section, name, profile_key))
|
||||
|
||||
def getContacts(self, profile_key="@DEFAULT@"):
|
||||
return self.db_comm_iface.getContacts(profile_key)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue