Commits

Anonymous committed 1c25ecb

Invoke print in a manner compatible with Python 2 and 3

Comments (0)

Files changed (1)

geventwebsocket/server.py

         super(WebSocketServer, self).__init__(*args, **kwargs)
 
     def handle(self, socket, address):
-        print "Connected Clients: ", str(self.clients.keys())
+        print("Connected Clients: " + str(self.clients.keys()))
 
         handler = self.handler_class(socket, address, self)
         handler.handle()