Commits

Jeffrey Gelens committed 8cbcf46

Fix version check

Comments (0)

Files changed (1)

examples/echoserver.py

 
 
 path = os.path.dirname(geventwebsocket.__file__)
-agent = "gevent-websocket/%s" % (geventwebsocket.__version__)
+agent = "gevent-websocket/%s" % (geventwebsocket.get_version())
 
 print "Running %s from %s" % (agent, path)
 WebSocketServer(("", 8000), echo_app, debug=False).serve_forever()