summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.org>2015-09-14 19:09:08 +0200
committerTimotej Lazar <timotej.lazar@araneo.org>2015-09-14 19:09:08 +0200
commitf7bec31d3ffaf28f34bef0962be74d8de77cbd8f (patch)
tree1c4560339608385748ba83f59d4dcbcbd837e63a /server
parent9b49be7dce15adbee62c8e0126c6c34410253547 (diff)
Add SID to JSON object in UserSession.send
Diffstat (limited to 'server')
-rw-r--r--server/user_session.py1
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):