diff --git a/gestion/gest_crans.py b/gestion/gest_crans.py index 1861c2cd..f21d50af 100644 --- a/gestion/gest_crans.py +++ b/gestion/gest_crans.py @@ -599,7 +599,7 @@ def set_droits(adher): # MLs pour lesquelles un autre droit abonne encore for droit in new: for ml in [m for m in old_mls if droit in droits_mls.get(m, [])]: - old_mls.pop(ml) + old_mls.remove(ml) # Choix des MLs auxquelles désabonner if old_mls: