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:
parent
1da78d1301
commit
7f1a741caa
1 changed files with 25 additions and 24 deletions
|
|
@ -171,10 +171,10 @@ class DbusObject(dbus.service.Object):
|
|||
return self.cb["disconnect"](unicode(profile_key))
|
||||
|
||||
@dbus.service.method(const_INT_PREFIX+const_COMM_SUFFIX,
|
||||
in_signature='sss', out_signature='s',
|
||||
in_signature='ss', out_signature='s',
|
||||
async_callbacks=None)
|
||||
def getConfig(self, section, name, profile_key='@DEFAULT@'):
|
||||
return self.cb["getConfig"](unicode(section), unicode(name), unicode(profile_key))
|
||||
def getConfig(self, section, name):
|
||||
return self.cb["getConfig"](unicode(section), unicode(name))
|
||||
|
||||
@dbus.service.method(const_INT_PREFIX+const_COMM_SUFFIX,
|
||||
in_signature='s', out_signature='a(sa{ss}as)',
|
||||
|
|
|
|||
Loading…
Reference in a new issue