diff --git a/open-leaderboard-server.py b/open-leaderboard-server.py index b33ffbf..1bc87c9 100755 --- a/open-leaderboard-server.py +++ b/open-leaderboard-server.py @@ -88,7 +88,7 @@ def leaderboard(): if playerName: playersWithRankUrl = FIND_PLAYER.format(server=SERVER, pname=playerName) - playersWithRank = str(requests.get(playersWithRankUrl).content, "utf-8").split("\n") + playersWithRank = str(requests.get(playersWithRankUrl).content, "utf-8").split("|") if len(playersWithRank) == 1 and playersWithRank[0] == "": cannotFindPlayer = flask.Markup("
No player of that name
")