diff frontends/src/bridge/DBus.py @ 2083:7999d5299ddc

bridge(D-Bus): minotr argument name fix
author Goffi <goffi@goffi.org>
date Sun, 02 Oct 2016 15:51:42 +0200
parents 046449cc2bff
children
line wrap: on
line diff
--- a/frontends/src/bridge/DBus.py	Sun Oct 02 13:46:29 2016 +0200
+++ b/frontends/src/bridge/DBus.py	Sun Oct 02 15:51:42 2016 +0200
@@ -563,7 +563,7 @@
             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 @@
             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: