Mercurial > libervia-backend
diff src/core/sat_main.py @ 1694:3c608d660f0b
core (memory): profile is checked in startSession (an error is raised if it doesn't exist)
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 27 Nov 2015 16:50:29 +0100 |
parents | b08b828a87c9 |
children | c1be6363bfab |
line wrap: on
line diff
--- a/src/core/sat_main.py Fri Nov 27 16:48:41 2015 +0100 +++ b/src/core/sat_main.py Fri Nov 27 16:50:29 2015 +0100 @@ -74,7 +74,7 @@ self.bridge.register("getEntitiesData", self.memory._getEntitiesData) self.bridge.register("asyncCreateProfile", self.memory.asyncCreateProfile) self.bridge.register("asyncDeleteProfile", self.memory.asyncDeleteProfile) - self.bridge.register("profileStartSession", self.memory._startSession) + self.bridge.register("profileStartSession", self.memory.startSession) self.bridge.register("profileIsSessionStarted", self.memory._isSessionStarted) self.bridge.register("profileSetDefault", self.memory.profileSetDefault) self.bridge.register("asyncConnect", self._asyncConnect)