From e7ac2f24f6a818a18b512a6e1b3ddd72f17879f2 Mon Sep 17 00:00:00 2001 From: Peter Urda Date: Tue, 16 Sep 2014 13:14:35 -0700 Subject: [PATCH] Fix bad query example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 92dc653..61b8c51 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ print("The server has {0} players".format(status.players.online)) # 'query' has to be enabled in a servers' server.properties file. # It may give more information than a ping, such as a full player list or mod information. query = server.query_server() -print("The server has the following players online: " % (string.join(query.players.names, ", "))) +print("The server has the following players online: %s" % (", ".join(query.players.names))) ``` Installation