stats_cableur: 2 fois plus de points pour les inscriptions
darcs-hash:20080917205830-ddb99-8ce06f86f0df8504cb2149276b920501184400d9.gz
This commit is contained in:
parent
4c5ddb7ba3
commit
a8cd71d80f
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
# stats_cableurs.py
|
# stats_cableurs.py
|
||||||
# -----------------
|
# -----------------
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007 François Bobot <bobot@crans.org>,
|
# Copyright (C) 2008 François Bobot <bobot@crans.org>,
|
||||||
# Jeremie Dimino <jeremie@dimino.org>,
|
# Jeremie Dimino <jeremie@dimino.org>,
|
||||||
# Michel Blockelet <blockelet@crans.org>
|
# Michel Blockelet <blockelet@crans.org>
|
||||||
#
|
#
|
||||||
|
@ -76,7 +76,7 @@ def calcul_score(mois):
|
||||||
|
|
||||||
# On calcul le score total pour chaque cableur
|
# On calcul le score total pour chaque cableur
|
||||||
for s in score.values():
|
for s in score.values():
|
||||||
s['total'] = s['inscription'] + s['reinscription']
|
s['total'] = 2 * s['inscription'] + s['reinscription']
|
||||||
|
|
||||||
return score
|
return score
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue