diff options
author | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-14 19:09:08 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-14 19:09:08 +0200 |
commit | f7bec31d3ffaf28f34bef0962be74d8de77cbd8f (patch) | |
tree | 1c4560339608385748ba83f59d4dcbcbd837e63a | |
parent | 9b49be7dce15adbee62c8e0126c6c34410253547 (diff) |
Add SID to JSON object in UserSession.send
-rw-r--r-- | server/user_session.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/user_session.py b/server/user_session.py index 5eec743..2cc629c 100644 --- a/server/user_session.py +++ b/server/user_session.py @@ -137,6 +137,7 @@ class UserSession(object): :param json_obj: a dict representing the json message :return: None """ + json_obj['sid'] = self.sid handlers.send(None, self.sid, json_obj) def __del__(self): |