diff options
author | emkael <emkael@tlen.pl> | 2017-09-06 21:29:32 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-09-06 21:29:32 +0200 |
commit | 8c9ebc4a0d461a0f7cc408094847a01920cc2755 (patch) | |
tree | cfcc7c37879228daac212eb52c9919694dbfe92f | |
parent | bed86ebbea1c1d7047f35966399c28529dde3f92 (diff) |
Default page size is 50, not 40
-rw-r--r-- | players.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |