Skip to content

Commit

Permalink
Correction
Browse files Browse the repository at this point in the history
  • Loading branch information
cdelerue committed Oct 3, 2018
1 parent 656c9ac commit 795c720
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions facture.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,8 @@ def __init__(self, inscrit, annee, mois, options=0):
for timeslot in inscrit.GetExtraActivites(date):
if timeslot.activity.mode != MODE_SYSTEMATIQUE_SANS_HORAIRES_MENSUALISE:
tarif = timeslot.activity.EvalTarif(self.inscrit, date, reservataire=cotisation.inscription.reservataire)
if not isinstance(tarif, (int, long, float)):
continue
if tarif and (self.options & TRACES):
print(" %s : activité %s = %f" % (date, timeslot.activity.label, tarif))
self.supplement_activites += tarif
Expand Down

0 comments on commit 795c720

Please sign in to comment.