Commits

Anonymous committed a7e2f6d

Fixed example

Comments (0)

Files changed (1)

sockjsproxy/samples/datereply-sjp.py

     print 'Listening for messages'
     try:
         while True:
-            (session_id, message_type, data) = in_socket.recv_multipart()
+            (message_type, session_id, data) = in_socket.recv_multipart()
 
             if message_type == 'connect':
                 print "{} connected".format(session_id)