Commit e47641e7 authored by Pierre-Elliott Bécue's avatar Pierre-Elliott Bécue

[objets] Sémantique de carteEtudiant non respectée

parent d66c12c0
......@@ -879,7 +879,7 @@ class proprio(CransLdapObject):
elif config.periode_transitoire or not config.bl_carte_et_actif:
return True
return config.ann_scol in self.get('carteEtudiant', []) or self.sursis_carte()
return bool(self.get('carteEtudiant', [])) or self.sursis_carte()
# XXX - To Delete
def update_solde(self, diff, comment=u"", login=None):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment