Mercurial > libervia-backend
diff src/memory/memory.py @ 759:93bd868b8fb6
backend, frontends: callbacks refactoring:
- launchAction is now async, and return a dictionary for its result
- no more action_id, actionResult* are deprecated
- callback system is about to be unified
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 24 Dec 2013 15:19:08 +0100 |
parents | bbe55c7bee43 |
children | bfabeedbf32e |
line wrap: on
line diff
--- a/src/memory/memory.py Tue Dec 24 15:19:08 2013 +0100 +++ b/src/memory/memory.py Tue Dec 24 15:19:08 2013 +0100 @@ -212,7 +212,7 @@ self.default_profile = None self.params = {} self.params_gen = {} - host.registerGeneralCB("registerNewAccount", host.registerNewAccountCB) + host.registerCallback(host.registerNewAccountCB, force_id="registerNewAccount") def createProfile(self, profile): """Create a new profile