diff --git a/stats_cableurs.py b/stats_cableurs.py index 39ee7d5d..bd897af3 100755 --- a/stats_cableurs.py +++ b/stats_cableurs.py @@ -8,7 +8,7 @@ # # Copyright (C) 2007 François Bobot , # Jeremie Dimino , -# Michel Blockelet # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -63,7 +63,7 @@ def calcul_score(mois): u""" Calcul le score de tous les cableurs ayant inscrit ou réinscrit quelqu'un pour l'année en cours. """ - liste = db.search("paiement=2007")['adherent'] + liste = db.search("paiement=2008")['adherent'] score = {} for adherent in liste: @@ -90,9 +90,9 @@ if __name__ == "__main__": nb_affiche = 10 mois = [8,9,10] if len(sys.argv) > 1: - if sys.argv[1] == '-e': - mois = [8,9,10,11] - if len(sys.argv) > 2: + if sys.argv[1] == '-e': + mois = [8,9,10,11] + if len(sys.argv) > 2: try: nb_affiche = int(sys.argv[2]) except: