summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-09-06 21:29:32 +0200
committeremkael <emkael@tlen.pl>2017-09-06 21:29:32 +0200
commit8c9ebc4a0d461a0f7cc408094847a01920cc2755 (patch)
treecfcc7c37879228daac212eb52c9919694dbfe92f
parentbed86ebbea1c1d7047f35966399c28529dde3f92 (diff)
Default page size is 50, not 40
-rw-r--r--players.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/players.py b/players.py
index 2567a3c..eddb2e9 100644
--- a/players.py
+++ b/players.py
@@ -61,9 +61,9 @@ for pid, player in players.iteritems():
rank_link = row.find('td').a
rank_link.string = '.'.join(date.split('-')[::-1])
base_rank_link = '../%s' % (dates[date])
- if ranking is not None and ranking['place'] > 40:
+ if ranking is not None and ranking['place'] > 50:
rank_link['href'] = '../%s#page:%d' % (
- dates[date], ceil(ranking['place'] / 40.0)
+ dates[date], ceil(ranking['place'] / 50.0)
)
else:
rank_link['href'] = base_rank_link