bridge(D-Bus): minotr argument name fix
This commit is contained in:
parent
95f77b1df1
commit
001834b760
1 changed files with 4 additions and 4 deletions
|
|
@ -563,7 +563,7 @@ class DBusBridgeFrontend(BridgeFrontend):
|
|||
kwargs['error_handler'] = error_handler
|
||||
return self.db_core_iface.profileIsSessionStarted(profile_key, **kwargs)
|
||||
|
||||
def profileSetDefault(self, arg_0, callback=None, errback=None):
|
||||
def profileSetDefault(self, profile, callback=None, errback=None):
|
||||
if callback is None:
|
||||
error_handler = None
|
||||
else:
|
||||
|
|
@ -575,7 +575,7 @@ class DBusBridgeFrontend(BridgeFrontend):
|
|||
kwargs['timeout'] = const_TIMEOUT
|
||||
kwargs['reply_handler'] = callback
|
||||
kwargs['error_handler'] = error_handler
|
||||
return self.db_core_iface.profileSetDefault(arg_0, **kwargs)
|
||||
return self.db_core_iface.profileSetDefault(profile, **kwargs)
|
||||
|
||||
def profileStartSession(self, password='', profile_key="@DEFAULT@", callback=None, errback=None):
|
||||
if callback is None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue