core: local_dir moved to config file

- ~/.sat.conf added to potential config file location
- removed useless profile param from getConfig
This commit is contained in:
Goffi 2011-06-18 17:56:59 +02:00
commit 7f1a741caa

View file

@ -81,8 +81,8 @@ 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 getConfig(self, section, name):
return unicode(self.db_comm_iface.getConfig(section, name))
def getContacts(self, profile_key="@DEFAULT@"):
return self.db_comm_iface.getContacts(profile_key)