summaryrefslogtreecommitdiff
path: root/scripts/pyranking
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/pyranking')
-rw-r--r--scripts/pyranking/fetch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/pyranking/fetch.py b/scripts/pyranking/fetch.py
index 0d301d4..304f509 100644
--- a/scripts/pyranking/fetch.py
+++ b/scripts/pyranking/fetch.py
@@ -5,8 +5,8 @@ def fetch_ranking(date, assoc=False):
rankings.place,
rankings.pid,
CONCAT(players.name, " ", players.surname) player,
- players.rank,
- rankings.region, players.club,
+ rankings.rank,
+ rankings.region, rankings.club,
REPLACE(rankings.flags, "K", "") age,
IF(rankings.flags LIKE 'K%', "K", "") gender,
rankings.score