changeset 139:b270fcc87304

profile manager: fixed profileCreate bridge call
author Goffi <goffi@goffi.org>
date Fri, 13 Apr 2018 18:57:18 +0200
parents 53fb221ad084
children 8f33a7c09214
files cagou/core/profile_manager.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cagou/core/profile_manager.py	Fri Apr 13 18:57:05 2018 +0200
+++ b/cagou/core/profile_manager.py	Fri Apr 13 18:57:18 2018 +0200
@@ -101,7 +101,7 @@
         name = self.profile_name.text.strip()
         # XXX: we use XMPP password for profile password to simplify
         #      if user want to change profile password, he can do it in preferences
-        G.host.bridge.asyncCreateProfile(name, self.password.text, callback=lambda: self.onCreationSuccess(name), errback=self.onCreationFailure)
+        G.host.bridge.profileCreate(name, self.password.text, u'', callback=lambda: self.onCreationSuccess(name), errback=self.onCreationFailure)
 
 
 class DeleteProfilesScreen(Screen):