comparison src/memory/memory.py @ 813:1a1600491d9d

core: registerNewAccount partial fix
author Goffi <goffi@goffi.org>
date Tue, 04 Feb 2014 18:54:06 +0100
parents 1fe00f0c9a91
children 9bac2fc74968
comparison
equal deleted inserted replaced
812:084b52afdceb 813:1a1600491d9d
211 self.host = host 211 self.host = host
212 self.storage = storage 212 self.storage = storage
213 self.default_profile = None 213 self.default_profile = None
214 self.params = {} 214 self.params = {}
215 self.params_gen = {} 215 self.params_gen = {}
216 host.registerCallback(host.registerNewAccountCB, force_id="registerNewAccount") 216 host.registerCallback(host.registerNewAccountCB, with_data=True, force_id="registerNewAccount")
217 217
218 def createProfile(self, profile): 218 def createProfile(self, profile):
219 """Create a new profile 219 """Create a new profile
220 @param profile: profile of the profile""" 220 @param profile: profile of the profile"""
221 #FIXME: must be asynchronous and call the callback once the profile actually exists 221 #FIXME: must be asynchronous and call the callback once the profile actually exists